The Wayback Machine - https://web.archive.org/web/20241005235011/https://www.geeksforgeeks.org/random-variable/
Open In App

Random Variable

Last Updated : 02 Sep, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Random variable is a fundamental concept in statistics that bridges the gap between theoretical probability and real-world data. random variable in statistics is a function that assigns a real value to an outcome in the sample space of a random experiment. For example: if you roll a die, you can assign a number to each possible outcome.

There are two basic types of random variables,

  • Discrete Random Variables (which take on specific values)
  • Continuous Random Variables (assume any value within a given range)

In this article, we will learn about random variable statistics, their types, random variable examples, and others in detail.

What is a Random Variable?

Random Variable Probability is a mathematical concept that assigns numerical values to outcomes of a sample space. They can describe the outcomes of objective randomness (like tossing a coin) or subjective randomness(results of a cricket game).

There are two types of Random Variables- Discrete and Continuous.

A random variable is considered a discrete random variable when it takes specific, or distinct values within an interval. Conversely, if it takes a continuous range of values, then it is classified as a continuous random variable.

Random Variable Definition

Random variable in statistics is a variable whose possible values are numerical outcomes of a random phenomenon. It is a function that assigns a real number to each outcome in the sample space of a random experiment.

We define a random variable as a function that maps from the sample space of an experiment to the real numbers. Mathematically, Random Variable is expressed as,

X: S →R

where,

  • X is Random Variable (It is usually denoted using capital letter)
  • S is Sample Space
  • R is Set of Real Numbers

Random variables are generally represented by capital letters like X and Y. This is explained by the example below:

Random Variable Example

Example 1

If two unbiased coins are tossed then find the random variable associated with that event.

Solution:

Suppose Two (unbiased) coins are tossed

X = number of heads. [X is a random variable or function]

Here, the sample space S = {HH, HT, TH, TT}

Example 2

Suppose a random variable X takes m different values i.e. sample space

X = {x1, x2, x3………xm} with probabilities

P(X = xi) = pi

where 1 ≤ i ≤ m

The probabilities must satisfy the following conditions :

  • 0 ≤ pi ≤ 1; where 1 ≤ i ≤ m
  • p1 + p2 + p3 + ……. + pm = 1 Or we can say 0 ≤ pi ≤ 1 and ∑pi = 1

Hence possible values for random variable X are 0, 1, 2.

X = {0, 1, 2} where m = 3

  • P(X = 0) = (Probability that number of heads is 0) = P(TT) = 1/2×1/2 = 1/4
  • P(X = 1) = (Probability that number of heads is 1) = P(HT | TH) = 1/2×1/2 + 1/2×1/2 = 1/2
  • P(X = 2) = (Probability that number of heads is 2) = P(HH) = 1/2×1/2 = 1/4

Here, you can observe that, (0 ≤ p1, p2, p3 ≤ 1/2)

p1 + p2 + p3 = 1/4 + 2/4 + 1/4 = 1

For example,

Suppose a dice is thrown (X = outcome of the dice). Here, the sample space S = {1, 2, 3, 4, 5, 6}. The output of the function will be:

  • P(X=1) = 1/6
  • P(X=2) = 1/6
  • P(X=3) = 1/6
  • P(X=4) = 1/6
  • P(X=5) = 1/6
  • P(X=6) = 1/6

Variate

A variate is a generalization of the concept of a random variable that is defined without reference to a particular type of probabilistic experiment.

It has the same properties as random variables and is denoted by capital letters (commonly X).

The possible values a random variable X can take are its range, denoted R_X. Individual values within this range are called quantiles, and the probability of X taking a specific value x is written as P(X=x).

Types of Random Variable

Random variables are of two types that are,

  • Discrete Random Variable
  • Continuous Random Variable

random variable classification

Discrete Random Variable

A Discrete Random Variable takes on a finite number of values. The probability function associated with it is said to be PMF.

PMF(Probability Mass Function)

If X is a discrete random variable and the PMF of X is P(xi), then

  • 0 ≤ pi ≤ 1
  • ∑pi = 1 where the sum is taken over all possible values of x

Discrete Random Variables Example

Example: Let S = {0, 1, 2}

xi

0

1

2

Pi(X = xi)

P1

0.3

0.5

Find the value of P (X = 0)

Solution:

We know that the sum of all probabilities is equal to 1. And P (X = 0) be P1

P1 + 0.3 + 0.5 = 1

P1 = 0.2

Then, P (X = 0) is 0.2

Continuous Random Variable

Continuous Random Variable takes on an infinite number of values. The probability function associated with it is said to be PDF (Probability Density Function).

PDF (Probability Density Function)

If X is a continuous random variable. P (x < X < x + dx) = f(x)dx then,

  • 0 ≤ f(x) ≤ 1; for all x
  • ∫ f(x) dx = 1 over all values of x

Then P (X) is said to be a PDF of the distribution.

Continuous Random Variables Example

Find the value of P (1 < X < 2)

Such that,

  • f(x) = kx3; 0 ≤ x ≤ 3 = 0

Otherwise f(x) is a density function.

Solution:

If a function f is said to be a density function, then the sum of all probabilities is equal to 1.

Since it is a continuous random variable Integral value is 1 overall sample space s.

∫ f(x) dx = 1

∫ kx3 dx = 1

K[x4]/4 = 1

Given interval, 0 ≤ x ≤ 3 = 0

K[34 – 04]/4 = 1

K(81/4) = 1

K = 4/81

Thus,

P (1 < X < 2) = k×[X4]/4

P = 4/81×[16-1]/4

P = 15/81

Random Variable Formulas

There are two main random variable formulas,

  • Mean of Random Variable
  • Variance of Random Variable

Let’s learn about the same in detail,

Mean of Random Variable

For any random variable X where P is its respective probability we define its mean as,

Mean(μ) = ∑ X.P

where,

  • X is the random variable that consist of all possible values.
  • P is the probability of respective variables

Variance of Random Variable

The variance of a random variable tells us how the random variable is spread about the mean value of the random variable. Variance of Random Variable is calculated using the formula,

Var(x) = σ2 = E(X2) – {E(X)}2

where,

  • E(X2) = ∑X2P
  • E(X) = ∑XP

Random Variable Functions

For any random variable X if it assume the values x1, x2,…xn where the probability corresponding to each random variable is P(x1), P(x2),…P(xn), then the expected value of the variable is,

Expectation of X, E(x) = ∑ x.P(x)

Now for any new random variable Y in which the random variable X is its input, i.e. Y = f(X), then the cumulative distribution function of Y is,

Fy(Y) = P(g(X) ≤ y)

Probability Distribution and Random Variable

For a random variable its probability distribution is calculated using three methods,

  • Theoretical listing of outcomes and probabilities of the outcomes.
  • Experimental listing of outcomes followed with their observed relative frequencies.
  • Subjective listing of outcomes followed with their subjective probabilities.

Probability of a random variable X that takes values x is defined using a probability function of X that is denoted by f (x) = f (X = x).

There are various probability distributions that are,

People Also Read:

Random Variable Example with Solutions

Here are some of the solved examples on Random variable. Learn random variables by practicing these solved examples.

1. Find the mean value for the continuous random variable, f(x) = x2, 1 ≤ x ≤ 3

Solution:

Given,

f(x) = x2

1 ≤ x ≤ 3

E(x) = ∫31 x.f(x)dx

E(x) = ∫31 x.x2.dx

E(x) = ∫31 x3.dx

E(x) = [x4/4]31

E(x) = 1/4{34– 14} = 1/4{81 – 1}

E(x) = 1/4{80} = 20

2. Find the mean value for the continuous random variable, f(x) = ex, 1 ≤ x ≤ 3

Solution:

Given,

f(x) = ex

1 ≤ x ≤ 3

E(x) = ∫31 x.f(x)dx

E(x) = ∫31 x.ex.dx

E(x) = [x.ex – ex]31

E(x) = [ex(x – 1)]31

E(x) = e3(2) – e(0)

3. Find the mean value for the continuous random variable, f(x) = x2, 1 ≤ x ≤ 3

Solution :

f(x) = x^2, 1 ≤ x ≤ 3

Mean = ∫(x^3)dx / ∫(x^2)dx from 1 to 3

= [(1/4)x^4]₁³ / [(1/3)x^3]₁³

= (81/4 – 1/4) / (27/3 – 1/3)

= 20 / 26/3

= 20 * 3/26 = 60/26 ≈ 2.31

4. Find the mean value for the continuous random variable, f(x) = 2x + 1, 0 ≤ x ≤ 4

Solution :

f(x) = 2x + 1, 0 ≤ x ≤ 4

Mean = ∫(x(2x+1))dx / ∫(2x+1)dx from 0 to 4

= [(2/3)x^3 + (1/2)x^2]₀⁴ / [x^2 + x]₀⁴

= (170/3) / 20

= 17/6 ≈ 2.83

5. Find the mean value for the continuous random variable, f(x) = x3, -1 ≤ x ≤ 2

Solution :

f(x) = x3, -1 ≤ x ≤ 2

Mean = ∫(x^4)dx / ∫(x^3)dx from -1 to 2

= [(1/5)x^5]₋₁² / [(1/4)x^4]₋₁²

= (32/5 + 1/5) / (16/4 + 1/4)

= 33/5 / 17/4

= 334 / (517) ≈ 1.55

6. Find the mean value for the continuous random variable, f(x) = √x, 1 ≤ x ≤ 9

Solution :

f(x) = √x, 1 ≤ x ≤ 9

Mean = ∫(x√x)dx / ∫(√x)dx from 1 to 9

= [(2/5)x^(5/2)]₁⁹ / [(2/3)x^(3/2)]₁⁹

= (486 – 2/5) / (18 – 2/3)

≈ 5.2

7. Find the mean value for the continuous random variable, f(x) = 3x2 – 2x, 0 ≤ x ≤ 3

Solution :

f(x) = 3x^2 – 2x, 0 ≤ x ≤ 3

Mean = ∫(x(3x^2-2x))dx / ∫(3x^2-2x)dx from 0 to 3

= [(3/4)x^4 – (2/3)x^3]₀³ / [x^3 – x^2]₀³

= (81/4 – 18) / (27 – 9)

= 27/4 / 18 = = 27/72 = 3/8 ≈ 0.375

8. Find the mean value for the continuous random variable, f(x) = sin(x), 0 ≤ x ≤ π

Solution :

f(x) = sin(x), 0 ≤ x ≤ π

Mean = ∫(x sin(x))dx / ∫(sin(x))dx from 0 to π

= [-x cos(x) + sin(x)]₀ᵖⁱ / [-cos(x)]₀ᵖⁱ

= (π + 1) / 2

≈ 2.07

9. Find the mean value for the continuous random variable, f(x) = ex, 0 ≤ x ≤ 2

Solution :

f(x) = e^x, 0 ≤ x ≤ 2

Mean = ∫(x e^x)dx / ∫(e^x)dx from 0 to 2

= [x e^x – e^x]₀² / [e^x]₀²

= (2e^2 – e^2 + 1) / (e^2 – 1)

≈ 1.54

10. Find the mean value for the continuous random variable, f(x) = ln(x), 1 ≤ x ≤ e

Solution :

f(x) = ln(x), 1 ≤ x ≤ e

Mean = ∫(x ln(x))dx / ∫(ln(x))dx from 1 to e

= [(1/4)x^2(2ln(x)-1)]₁ᵉ / [x ln(x) – x]₁ᵉ

= (e^2/2 – 1/4) / (e – 1)

≈ 1.95

Practice Problems on Random Variable

1. A coin is flipped 5 times. Define the random variable as the number of heads. Find the probability distribution.

2. A bag contains 6 red and 4 blue balls. A ball is drawn. Define the random variable as the color of the ball. Find the probability distribution.

3. Roll two dice. Define the random variable as the sum of the outcomes. Find the probability distribution.

4. A box contains 10 defective items out of 50. Define the random variable as the number of defective items in a random sample of 5. Find the expected value.

5. Flip a coin until you get a head. Define the random variable as the number of flips. Find the probability distribution.

6. A dice is rolled twice. Define the random variable as the difference between the numbers rolled. Find the expected value.

7. A survey finds the heights of 100 students. Define the random variable as the height of a student. Find the variance.

8. Draw a card from a deck of 52 cards. Define the random variable as the card drawn (numbered). Find the expected value.

9. A spinner has numbers 1 through 8. Define the random variable as the number spun. Find the probability of getting a number greater than 5.

10. A lottery has 100 tickets. Define the random variable as the winning ticket number. Find the probability of drawing a specific number.

Conclusion

In probability and statistics, a random variable acts like a translator. It takes the unpredictable outcomes of an experiment (like flipping a coin) and assigns numbers to them (heads = 1, tails = 0). Random Variables serve as the bridge between abstract mathematical concepts and real-world phenomena, allowing us to model, analyze, and make predictions about random processes. These numbers come in two flavors: discrete (specific values like number of successful trials) or continuous (ranges of values like waiting time). By having these numerical labels, we can analyze the uncertainty of the experiment using powerful tools from probability and statistics.

Random Variable – FAQs

What is a Random Variable?

A random variable in statistics are the variables that represent all the possible outcome of a Random Variable.

What are Two Types of Random Variable?

There are two types of Random Variables and that are,

  • Continuous Random Variable
  • Discrete Random Variable

What is Mean of a Random Variable?

Mean of Random Variable is calculated using the formula,

  • Mean of a Discrete Random Variable: E[X] = ∑x.P(X = x)
  • Mean of a Continuous Random Variable: E[X] = ∫ x.f(x).dx

How is a Random Variable Used?

Random variables are used in probability and statistics to model and analyze the outcomes of random phenomena, calculate probabilities, and determine expected values.

Can a Random Variable Be Negative?

Yes, a random variable can be negative if the numerical values it assigns to outcomes include negative numbers, depending on the context of the experiment or phenomenon.

How Do You Find the Expected Value of a Random Variable?

The expected value of a random variable is found by multiplying each possible outcome by its probability and summing all these products.

What is the Difference Between a Random Variable and a Probability Distribution?

A random variable is a function that assigns numerical values to outcomes, while a probability distribution describes how probabilities are distributed over the values of the random variable.

How Can You Calculate Probabilities Using a Random Variable?

Probabilities can be calculated using the probability distribution of the random variable, which provides the probabilities for the variable’s different possible values.

What is a Probability Mass Function (PMF)?

For discrete random variables, the PMF is a function that gives the probability that the random variable is exactly equal to some value.

What is a Probability Density Function (PDF)?

For continuous random variables, the PDF is a function that describes the relative likelihood for this random variable to take on a given value.

How Do Random Variables Relate to Statistical Analysis?

Random variables are foundational in statistical analysis, allowing for the quantification and analysis of random phenomena, hypothesis testing, and data modeling.

What is Variance of a Random Variable?

Variance of Random Variable is calculated using the formula,

  • Variance of a Discrete Random Variable: V[X] = ∑(x – μ)2.P(X = x)
  • Variance of a Continuous Random Variable: V[X] = ∫ (x – μ)2.f(x).dx

What is Random Variables Expected Value?

Expected value of a Random Variable is the weighted average of all possible values of the variable. Weight of the random variable is the probability of random variable at specific values.

What are Continuous Random Variables?

Continuous Random Variables are type of random variable in probability theory and statistics that are used to represent the continuous probability of the distribution of a function.



Previous Article
Next Article

Similar Reads

Free Variable vs Bound Variable
Free and bound variables are types of variables in maths which are used in fields like mathematics, logic, and computer science. A free variable is one that is not limited by any quantifiers within a given expression. For example, in the mathematical expression x + y, both x and y are free variables because they can take any value independently. On
6 min read
How to Calculate the Mean or Expected Value of a Discrete Random Variable
WMean or Expected Value of a Discrete random variable 'X' is calculated by multiplying each value of the random variable with its probability and adding them. The resultant value gives the mean or expected value of a given discrete random variable. In this article, we will explore the expected value, mean formula, and steps to find the expected val
5 min read
Continuous Random Variable
In statistics and probability theory, a continuous random variable is a type of variable that can take any value within a given range. Unlike discrete random variables, which can only assume specific, separate values (like the number of students in a class), continuous random variables can assume any value within an interval, making them ideal for
9 min read
Discrete Random Variable
Discrete Random Variables are an essential concept in probability theory and statistics. Discrete Random Variables play a crucial role in modelling real-world phenomena, from the number of customers who visit a store each day to the number of defective items in a production line. Understanding discrete random variables is essential for making infor
15 min read
Class 12 RD Sharma Solutions- Chapter 32 Mean and Variance of a Random Variable - Exercise 32.1 | Set 1
Question 1. Which of the following distributions of probabilities of random variables are their probability distributions?i. X3210-1P(X)0.30.20.40.10.05Solution: We know that the sum of probability distribution is always 1. Sum of probabilities (P(X))=P(X=3)+P(X=2)+P(X=1)+P(X=0)+P(X=-1) =0.3+0.2+0.4+0.1+0.05=1.05>1 The sum of probability distrib
10 min read
Class 12 RD Sharma Solutions - Chapter 32 Mean and Variance of a Random Variable - Exercise 32.2 | Set 2
Question 13: Two cards are selected at random from a box which contains five cards numbered 1,1,2,2, and 3. Let X denote the sum and Y the maximum of the two numbers drawn. Find the probability distribution, mean and variance of X and Y.Solution: As box contains cards numbered as 1,1,2,2 and 3 ∴ possible sums of card numbers are 2,3,4 and 5 Hence,
15 min read
Class 12 RD Sharma Solutions - Chapter 32 Mean and Variance of a Random Variable - Exercise 32.1 | Set 2
Question 16. Two cards are drawn successively with replacement from well-shuffled pack of 52 cards. Find the probability distribution of number of kings.Solution: Given that two cards are drawn with replacement from well shuffled pack of 52 cards. Then the values of random variable for the probability distribution could be, i. No king ii. One king
11 min read
Class 12 RD Sharma Solutions - Chapter 32 Mean and Variance of a Random Variable - Exercise 32.2 | Set 1
Chapter 32 of RD Sharma's Class 12 Mathematics textbook focuses on the mean and variance of random variables, and fundamental concepts in probability and statistics. Exercise 32.2 deals specifically with calculating these measures for discrete probability distributions. This set of solutions demonstrates various techniques for computing means, vari
15+ min read
Random Sampling vs Random Assignment
Random sampling and Random assignment are two important distinctions, and understanding the difference between the two is important to get accurate and dependable results. Random sampling is a proper procedure for selecting a subset of bodies from a larger set of bodies, each of which has the same likelihood of being selected. In contrast, Random a
8 min read
Variable Entrant Map (VEM) in Digital Logic
Prerequisite - Karnaugh Map (K-map) K-map is the best manual technique to solve Boolean equations, but it becomes difficult to manage when number of variables exceed 5 or 6. So, a technique called Variable Entrant Map (VEM) is used to increase the effective size of k-map. It allows a smaller map to handle large number of variables. This is done by
3 min read
Fixed Length and Variable Length Subnet Mask Numericals
Before starting off with this article make sure you know the basics of Subnetting and Classless Addressing. 1. Fixed-Length Subnet Mask : When a block of addresses is divided into subnets all having an equal number of addresses, the type of subnetting is said to be Fixed Length Subnetting. The subnet masks used here will be the same for all the sub
5 min read
Introduction to Two-Variable Linear Equations in Straight Lines
Lines are the most basic configuration in geometry. Many other geometrical shapes can be obtained from lines. Lines are referred 1-Dimensional. We can obtain higher dimensional shapes using lines. Let's understand the lines in depth. Let's say, we have two sets as follows, x = {1, 2, 3, 4, 5, 6, 7} y = {10, 20, 30, 40, 50, 60, 70} Here, points in s
6 min read
Forms of Two-Variable Linear Equations - Straight Lines | Class 11 Maths
Line is the simplest geometrical shape. It has no endpoints and extends in both directions till infinity. The word “straight” simply means without “bend”. The gradient between any two point on the line is same. Hence, we can say that, if the gradient between any two points on the line is same, then the locus is a straight line. So let's see what ar
5 min read
Class 9 RD Sharma Solutions - Chapter 13 Linear Equation in Two Variable - Exercise 13.1
Question 1: Express the following linear equations in the form ax + by + c = 0 and indicate the values of a, b and c in each case: (i) -2x + 3y = 12 (ii) x – y/2 – 5 = 0 (iii) 2x + 3y = 9.35 (iv) 3x = -7y (v) 2x + 3 = 0 (vi) y – 5 = 0 (vii) 4 = 3x (viii) y = x/2 Solution: (i) -2x + 3y = 12 Rearranging, – 2x + 3y – 12 = 0 On comparing with the given
4 min read
Class 9 RD Sharma Solutions - Chapter 13 Linear Equation in Two Variable- Exercise 13.2
Question 1. Write two solutions for each of the following equations:(i) 3x + 4y = 7(ii) x = 6y(iii) x + πy = 4(iv) 2/3 x − y = 4 Solution: (i) 3x + 4y = 7Substituting x =1We get,3×1 + 4y = 74y = 7 − 34y = 4y = 1Therefore, if x = 1, then y =1, is the solution of 3x + 4y = 7 Substituting x = 2We get,3×2 + 4y = 76 + 4y = 74y = 7 − 6y = 1 4Therefore, i
6 min read
Class 9 RD Sharma Solutions - Chapter 13 Linear Equation in Two Variable- Exercise 13.3 | Set 1
Question 1: Draw the graph of each of the following linear equations in two variables: (i) x + y = 4 (ii) x – y = 2 (iii) -x + y = 6 (iv) y = 2x (v) 3x + 5y = 15 (vi) [Tex] \frac{x}{2} − \frac{y}{3} = 2[/Tex] (vii) [Tex]\frac{(x−2)}{3} = y – 3 [/Tex] (viii) 2y = -x +1 Solution: (i) Given: x + y = 4 or y = 4 – x, Now find values of x and y: By putti
9 min read
Class 9 RD Sharma Solutions - Chapter 13 Linear Equation in Two Variable - Exercise 13.3 | Set 2
Question 11: Draw the graph of the equation 2x + 3y = 12. From the graph, find the coordinates of the point: (i) whose y-coordinates is 3. (ii) whose x-coordinate is −3. Solution: Given: 2x + 3y = 12 We get, [Tex]y=\frac{12-2x}{3}[/Tex] Substituting x = 0 in y = [Tex]\frac{12-2x}{3}[/Tex]we get, [Tex]y=\frac{12-2\times0}{3}[/Tex] y = 4 Substituting
13 min read
What is a term without a variable?
Algebraic expression started in the 9th century. In the beginning, it was more in statement form and not mathematical at all. For instance, algebraic equations used to be written as "5 times the thing added with 3 gives 18" which is basically 5x + 3 = 18. This type of equation which was not mathematical was Babylonian algebra. Algebra evolved with
3 min read
NCERT Solutions for Class 8 Maths Chapter 2 Linear Equations in One Variable
NCERT Solutions for Class 8 Maths Chapter 2 – Linear Equations in One Variable is created by a team of professionals at GFG, to help students with any queries they might have as they go through problems from the NCERT textbook. It lessens the frustration of spending a long time working on a problem. Chapter 2 of Class 8 Maths covers the topic of li
15+ min read
Variable (or Dynamic) Partitioning in Operating System
In operating systems, Memory Management is the function responsible for allocating and managing a computer’s main memory. The memory Management function keeps track of the status of each memory location, either allocated or free to ensure effective and efficient use of Primary Memory. Below are Memory Management Techniques. ContiguousNon-Contiguous
4 min read
Is a variable considered a term?
Algebra is an upgraded discipline of mathematics that is the study of the manipulation of numerical values and symbols. These manipulations or operations are carried out to determine the unknown values represented by symbols or alphabets in the expression. Algebraic equations are associated with terms like a variable, constants, factors, and coeffi
5 min read
Lock Variable Synchronization Mechanism
Prerequisites - Process SynchronizationA lock variable provides the simplest synchronization mechanism for processes. Some noteworthy points regarding Lock Variables are- Its a software mechanism implemented in user mode, i.e. no support required from the Operating System.Its a busy waiting solution (keeps the CPU busy even when its technically wai
5 min read
Work Done by a Variable Force
Usually, a dancing person is considered to be more energetic compared to a sitting person. A security guard who has been standing at his place the whole day has been working for hours. In real life, this seems obvious, but these terms and definitions work differently when it comes to physics. In physics, work has been defined as the product of forc
6 min read
NCERT Solutions Class 8 – Chapter 2 Linear Equations in One Variable – Exercise 2.2
Solve the following linear equations. Question 1. x/2 - 1/5 = x/3 + 1/4 Solution: (5x - 2)/10 = (4x + 3)/12 ...(Taking LCM on both the sides) 12(5x - 2) = 10 (4x + 3) ...(Cross multiplying) 60x - 24 = 40x + 30 ...(Solving the brackets) 60x - 40x = 30 + 24 ...(Transposing terms of x to LHS and others to RHS) 20x = 54 x = 54/20 or 27/10 ... (Solution
5 min read
NCERT Solutions Class 8 – Chapter 2 Linear Equations in One Variable – Exercise 2.1
Question 1. Find the value of x: 3x = 2x + 18Solution: 3x – 2x =18 (transposing 2x to LHS) X = 18 (solution) Verification — Put the value of x in the equation to verify our solution 3(18) = 2(18) + 18 54 = 36 + 18 54 = 54 LHS = RHS (so our value of x is correct) Question 2. Find the value of t: 5t – 3 = 3t – 5Solution: 5t – 3 – 3t = -5 (transposing
5 min read
Class 8 NCERT Solutions - Chapter 2 Linear Equations in One Variable - Exercise 2.1
Question 1. Solve for x: x – 2 = 7 Solution: x – 2 = 7 x=7+2 (Adding two on both sides of equation) x=9 Question 2. Solve for y: y + 3 = 10 Solution: y + 3 = 10 y = 10 –3 (Subtracting 3 from both sides of equation) y = 7 Question 3. Solve for z: 6 = z + 2 Solution: 6 = z + 2 z + 2 = 6 (Rearranging to standard form) z = 6 - 2 (Subtracting two from b
3 min read
Class 8 NCERT Solutions - Chapter 2 Linear Equations in One Variable - Exercise 2.2
Question 1. If you subtract 1/2 from a number and multiply the result by 1/2, you get 1/8 what is the number? Solution: Let the number be 'a'. According to the question, (a – 1/2) × 1/2 = 1/8 a/2 – 1/4 = 1/8 a/2 = 1/8 + 1/4 a/2 = 1/8 + 2/8 a/2 = (1 + 2)/8 a/2 = 3/8 a = (3/8) × 2 So, a = 3/4 Question 2. The perimeter of a rectangular swimming pool i
9 min read
Class 8 NCERT Solutions - Chapter 2 Linear Equations in One Variable - Exercise 2.3
Question 1. Find the value of x : 3x = 2x + 18 Solution: 3x - 2x =18 (transposing 2x to LHS) X = 18 (solution) Verification — Put the value of x in the equation to verify our solution 3(18) = 2(18) + 18 54 = 36 + 18 54 = 54 LHS = RHS (so our value of x is correct) Question 2. Find the value of t : 5t – 3 = 3t – 5 Solution: 5t - 3 - 3t = -5 (transpo
5 min read
Class 8 NCERT Solutions - Chapter 2 Linear Equations in One Variable - Exercise 2.6
We use cross multiplication in this exercise a lot of times, so it is explained here before. Let, a/b = c/d Now if we multiply both sides by the denominators of left side and right side, we get, (a/b) X (b X d) = (c/d) X (b X d) => a X d = b X c This is called cross multiplication. Question.1 Solve the following equations. We can solve the probl
5 min read
Polynomials in One Variable | Polynomials Class 9 Maths
Polynomials in One Variable: Polynomial word originated from two words “poly” which means “many” and the word “nominal” which means “term”. In maths, a polynomial expression consists of variables known as indeterminate and coefficients. Polynomials are expressions with one or more terms with a non-zero coefficient. A polynomial can have more than o
7 min read