Algebra

0

Algebra: Concepts, Formulas and Solved Examples

Algebra is a part of mathematics in which letters represent numbers. A letter such as x may stand for a number that we do not know yet, or a number whose value can change. We use known relationships to simplify an expression or find a missing number.

For example, x+3=8 says that an unknown number becomes 8 after adding 3. Subtracting 3 from both sides gives x=5. We do the same operation on both sides because an equation is like a balanced weighing scale.

This small balance idea is the base of equation solving. Before using it in larger problems, we need to understand the pieces of algebra, how signs work, and why brackets must be opened carefully.

Algebra foundations, terms, substitution and brackets
1 / 5

Algebra foundations, terms, substitution and brackets

Basics: Numbers, Variables, Terms and Expressions

A variable is a letter that represents a number. In x+4, the value of x is not yet known. The letter is only a name for that missing number.

A constant is a fixed number. Its value does not change. In x+4, the number 4 is a constant.

A term is one part of an expression. A plus or minus sign separates one term from the next term. Keep a minus sign with the term that follows it.

Consider:

3x+5y−7

It has three terms: 3x, 5y and −7. The variables are x and y. The constant term is −7, not 7, because its minus sign belongs to it.

The number multiplying a variable is its coefficient. The coefficient tells us how many copies of the variable we have. For example, 3x means x+x+x, so its coefficient is 3.

The coefficient of y in −y is −1, because −y=−1y. If we see only x, its coefficient is 1 because x=1x.

A power tells us how many times a value is multiplied by itself. In x2, the 2 means x×x. In x3, the 3 means x×x×x.

An expression such as 3x+5 has no equals sign. We can simplify it or find its value when x is known, but we cannot usually solve it by itself.

An equation such as 3x+5=20 says that the expression on the left has the same value as the expression on the right. We solve it by finding the value of x that makes this statement true.

An identity is an equality that is true for every allowed value. For example, (a+b)2=a2+2ab+b2 is true no matter which numbers replace a and b.

Like Terms and Simplification

Like terms have exactly the same variable part, including the same powers. We can add 3x and 5x because both are groups of x. Three apples plus five apples make eight apples. In the same way, 3x+5x=8x.

We cannot combine 3x with 5y because they use different variables. We also cannot combine 3x with 3x2 because x and x2 are different variable parts.

Example: Simplify 5x+7−2x+4.

First group the x terms and the number-only terms:

(5x−2x)+(7+4)

Now subtract the coefficients of the x terms and add the constants:

(5−2)x+(7+4)=3x+11

The coefficient of x after simplification is 3.

Substitution: Replacing a Variable with a Number

Substitution means replacing a variable with a known number. Imagine that the letter is an empty box. If x=−2, put −2 into every box marked x.

Use brackets around a negative value. The brackets show that the complete number, including its minus sign, is being squared or multiplied.

Example: Find x2−3x+1 when x=−2.

Step 1: Replace every x with (−2).

(−2)2−3(−2)+1

(−2)2=4. Also, −3(−2)=+6 because the product of two negative numbers is positive.

Step 2: Work out the power and multiplication.

(−2)2=(−2)(−2)=4 −3(−2)=+6

Step 3: Add the remaining numbers.

4+6+1=11

Writing −22 without brackets can be misunderstood as −(22)=−4. Brackets make the intended square clear.

Opening Brackets with the Distributive Property

When a number multiplies a bracket, it multiplies every term inside:

a(b+c)=ab+ac

This is called the distributive property. Think of 2 bags, with each bag containing 3y−4. Both parts inside the bag are present twice, so 2(3y−4)=6y−8.

Example: Simplify 2(3y−4)−(y+5).

Open the first bracket:

2(3y−4)=6y−8

A minus sign before a bracket means the whole bracket is multiplied by −1. Therefore, the sign of every term inside changes:

−(y+5)=−y−5

Now combine like terms:

6y−8−y−5=5y−13

The final answer is 5y−13. The two original brackets are gone, and no more like terms remain.

The most common bracket error is changing only the first sign after a minus. Since −1 multiplies every term, every sign inside must change.

Solving a Linear Equation

A linear equation has a variable whose highest power is 1. Examples are 2x+3=11 and 4y−8=2y+12. Solving an equation means finding the value that makes its left and right sides equal.

Think of an equation as a balanced weighing scale. If we remove 3 kg from only one side, the scale will no longer balance. If we remove 3 kg from both sides, it remains balanced. This gives us the safe rule: whatever operation we perform on one side, we must perform on the other side.

Our goal is to leave the variable alone. We undo addition with subtraction, undo subtraction with addition, undo multiplication with division, and undo division with multiplication.

Example: Solve 3(x−2)+4=2x+13.

Step 1: Open the bracket. The 3 multiplies both x and −2:

3x−6+4=2x+13

Step 2: Combine like terms on the left. Since −6+4=−2:

3x−2=2x+13

Step 3: Put the variable terms on one side. Subtract 2x from both sides:

x−2=13

Step 4: Leave x alone. Add 2 to both sides:

x=15

Check by substituting 15 into the original equation. Both sides become 43, so the answer is correct.

Finding the variable may be only the first step when the required value is an expression. For example, if x2+3=11, then x2=8 and x=16. If the required value is 2x−5, substitute 16 to get 2(16)−5=27.

Equations containing fractions

Fractions do not change the main balance rule, but they can make calculations harder to see. We can clear them by multiplying the complete equation by the lowest common multiple, or LCM, of all denominators.

Example: Solve:

x4+x6=5

The LCM of 4 and 6 is 12 because 12 is the smallest positive number divisible by both 4 and 6. Multiply every term, including the 5, by 12:

12(x4)+12(x6)=12(5) 3x+2x=60 5x=60 x=12

Multiplying only one fraction by 12 would break the equality. The whole equation must be multiplied.

Turning Words into Equations

Word problems hide an equation inside a sentence. Do not start calculating while reading. First choose a letter for the unknown, then translate one phrase at a time.

  • A number: x
  • Twice a number: 2x
  • Five more than a number: x+5
  • Five less than three times a number: 3x−5
  • One-fourth of a number: x4
  • Two numbers in the ratio 3:5: 3x and 5x

Example: Seven less than twice a number is 23. Find the number.

What is unknown? The number itself, so let it be x.

Translate the sentence. “Twice a number” means 2x. “Seven less than twice a number” means take 7 away from 2x, giving 2x−7. The word “is” means equals.

2x−7=23

Solve the equation. Add 7 to both sides so the subtraction disappears:

2x=30 x=15

Check the meaning. Twice 15 is 30. Seven less than 30 is 23, so 15 is the required number.

The word “than” matters. “Five less than 3x” means 3x−5, not 5−3x.

One Variable Defined Through Another

Sometimes one variable is described using another. Phrases such as “twice,” “three times” and “half” tell us the relationship.

  • “A is twice B” means A=2B.
  • “A is three more than B” means A=B+3.
  • “A is half of B” means A=B2.

If one variable is already known, substitute its value into the relationship.

Example: b=6 and a is twice b. Find a+b.

a=2b=2(6)=12 a+b=12+6=18

Simultaneous Linear Equations

Simultaneous equations are equations that must be true at the same time. If two equations contain the same two unknowns, they can often give one exact value for each unknown.

The elimination method makes one variable disappear by adding or subtracting the equations. We can eliminate a variable when its coefficients are equal and have opposite signs for addition, or equal and have the same sign for subtraction.

Example: Solve 2x+y=19 and x−y=2, then find x+y.

Label the equations so we can refer to them clearly:

2x+y=19(1) x−y=2(2)

Add equations (1) and (2). The +y and −y cancel because their sum is zero:

3x=21 x=7

We now know x, but we still need x+y. Substitute x=7 into the simpler second equation to find y:

7−y=2 y=5

Therefore, x+y=7+5=12.

Simultaneous equations containing fractions

First clear the fractions in both equations. After that, use the same elimination method.

Example:

x2+y3=7 x3+y2=8

The LCM of 2 and 3 is 6. Multiply every term in both equations by 6:

3x+2y=42 2x+3y=48

The coefficients of y are 2 and 3. Their LCM is 6. Multiply the first equation by 3 and the second by 2 so both equations contain 6y:

9x+6y=126 4x+6y=96

Subtract the second new equation from the first. The 6y terms cancel:

5x=30 x=6

Substitute x=6 into 3x+2y=42:

18+2y=42,2y=24,y=12

Therefore, x+y=6+12=18.

Forming Two Equations from a Word Problem

Example: Ten tickets include adult and child tickets. An adult ticket costs Rs. 12, a child ticket costs Rs. 7, and the total is Rs. 95. Find the number of adult tickets.

There are two unknown counts, so use two variables. Let adult tickets be x and child tickets be y.

The first condition is about the number of tickets. Together, the two types make 10 tickets:

x+y=10

The second condition is about money. The adult tickets bring 12x rupees and the child tickets bring 7y rupees:

12x+7y=95

This time, substitution is easy. From the first equation, y=10−x. Put this expression in place of y in the cost equation:

12x+7(10−x)=95 5x+70=95 x=5

So 5 adult tickets were bought. Then y=10−5=5, so there were also 5 child tickets. The cost check is 5(12)+5(7)=60+35=95 rupees.

The key was not to mix the two totals. One equation counted tickets, while the other counted money.

Age Relationships

Age relationships can also be written as equations. The important rule is that the same number of years passes for every person. If a son's present age is x, then after 12 years it is x+12. If the father's present age is 3x, then after 12 years it is 3x+12, not 3(x+12).

Example: A father is three times as old as his son. After 12 years, the father will be twice the son's age. Find the son's present age.

Let the son's present age be x. The father's present age is 3x.

After 12 years:

Son=x+12,Father=3x+12

At that time, the father is twice the son's age:

3x+12=2(x+12) 3x+12=2x+24

Subtract 2x and then subtract 12:

x=12

The son is now 12 and the father is now 36. After 12 years, they will be 24 and 48. Since 48 is twice 24, the answer is correct.

Algebraic Identities

An identity is a pattern that stays true for every allowed value. It lets us expand brackets quickly and also helps us recognise expressions that can be shortened.

The first square identity comes from multiplying (a+b) by itself:

(a+b)2=(a+b)(a+b)

Each term in the first bracket multiplies each term in the second bracket. This gives a2+ab+ab+b2, and the two middle terms combine to 2ab.

(a+b)2=a2+2ab+b2 (a−b)2=a2−2ab+b2 (a+b)(a−b)=a2−b2

Example: If (x+3)2 exceeds x2 by 45, find x.

The phrase “A exceeds B by 45” means A−B=45. Therefore:

(x+3)2−x2=45

Expand:

x2+6x+9−x2=45

The positive x2 and negative x2 cancel. This is why an expression that first looked quadratic becomes a simple linear equation:

6x+9=45 x=6

Another useful result comes from subtracting the square-of-a-difference identity from the square-of-a-sum identity:

(a+b)2−(a−b)2=4ab

If a=9 and b=4, the value is:

4ab=4(9)(4)=144

The identity saves us from separately calculating 132 and 52, though that check also gives 169−25=144.

Factorisation of a Quadratic Expression

Factorisation is the reverse of opening brackets. It rewrites one expression as a product of simpler expressions. For example, expanding (x+2)(x+5) gives x2+7x+10, so factorising x2+7x+10 takes us back to (x+2)(x+5).

For ax2+bx+c, look for two numbers whose product is ac and whose sum is b. The product condition helps create the first and last terms. The sum condition helps create the middle term.

Example: Factorise x2+7x+10.

Here, a=1, b=7 and c=10. We need two numbers with product 1×10=10 and sum 7.

The pair 1 and 10 has the correct product but its sum is 11, so it does not work. The pair 2 and 5 has product 10 and sum 7, so it works.

x2+7x+10=x2+2x+5x+10

Split 7x into 2x+5x, then group the terms:

x(x+2)+5(x+2)

Both groups now contain the bracket (x+2). Take this common bracket outside:

(x+2)(x+5)

Multiplying the factors back gives the original expression, which checks the answer.

Solving Quadratic Equations by Factorisation

A quadratic equation has highest power 2 and standard form:

ax2+bx+c=0,a≠0

Example: Solve x2−7x+12=0.

We need two numbers with product 12 and sum −7. Because the product is positive and the sum is negative, both numbers must be negative. They are −3 and −4.

x2−7x+12=(x−3)(x−4)=0

Now use the zero-product rule. If two numbers multiply to make zero, at least one of them must be zero. Therefore:

x−3=0orx−4=0

Therefore, x=3 or x=4. The larger root is 4.

Both values can be checked in the original equation. For x=3, 9−21+12=0. For x=4, 16−28+12=0.

The Discriminant and Nature of Roots

Not every quadratic factorises easily. The quadratic formula works for every quadratic equation with a≠0:

x=−b±b2−4ac2a

The part inside the square root is called the discriminant:

D=b2−4ac
  • If D>0, its square root gives a positive number, so the plus and minus signs produce two different real roots.
  • If D=0, its square root is zero, so the plus and minus forms give the same root.
  • If D<0, there is no real square root, so there are no real roots.

Example: Find k if x2−kx+16=0 has equal positive roots.

Compare it with ax2+bx+c=0. Here a=1, b=−k and c=16.

Equal roots require D=0:

(−k)2−4(1)(16)=0 k2=64

Taking square roots gives two possible values, k=8 and k=−8. We must not choose yet because another condition says that the equal roots must be positive.

When D=0, the equal root is x=−b2a=k2. If k=8, the root is 4. If k=−8, the root is −4. Only the first root is positive, so k=8.

Sum and Product of Quadratic Roots

If roots of ax2+bx+c=0 are α and β:

α+β=−ba αβ=ca

These formulas let us find expressions involving roots without first calculating each root.

Example: The roots of x2−6x+5=0 are α and β. Find α2+β2.

Here, a=1, b=−6 and c=5. Therefore:

α+β=−−61=6,αβ=51=5

We need the sum of the squares. Start with a known identity and move the middle term:

α2+β2=(α+β)2−2αβ =62−2(5)=26

We did not need to find the two roots separately. As a check, the equation factorises to (x−1)(x−5)=0. The roots are 1 and 5, and 12+52=26.

Reciprocals and Rational Equations

The reciprocal of a non-zero number a is 1a. A number multiplied by its reciprocal equals 1. For example, the reciprocal of 5 is 15, and 5×15=1.

Zero has no reciprocal because division by zero is not allowed.

Example: The reciprocal of x+1 is 15.

1x+1=15

The denominator x+1 cannot be zero, so x≠−1. Now cross multiply:

5=x+1

Therefore, x=4. Checking gives 1(4+1)=15, which matches the original equation.

Square Roots and Radicals

A square root asks, “Which non-negative number multiplied by itself gives this value?” For example, 49=7 because 7×7=49.

Squaring and taking a square root can undo each other, but a value found after squaring should be checked in the original equation. Squaring can sometimes create an answer that did not satisfy the starting equation.

Example: Solve x+9=7.

The square root is already alone. Square both sides to remove it:

x+9=49 x=40

Substitution confirms that 40+9=49=7.

To simplify a radical, look for a perfect-square factor inside it. A perfect square is a number such as 1, 4, 9, 16 or 25 that comes from squaring a whole number.

50+18=25×2+9×2 =52+32=82

For 50, the largest perfect-square factor is 25, so 50=52. For 18, it is 9, so 18=32.

Only like radicals can be combined, just as only like algebraic terms can be combined. We can add 52 and 32 because both have 2. We could not combine 52 and 33 into one like term.

Polynomial Remainder Theorem

A polynomial is an expression made from variables, whole-number powers and coefficients, such as x3−4x+5. When a polynomial P(x) is divided by x−a, the remainder theorem says that the remainder is P(a).

The number a is the value that makes the divisor zero. For x−2, that value is 2. For x+3=x−(−3), that value is −3.

Example: Find the remainder when P(x)=x3−4x+5 is divided by x−2.

The divisor x−2 becomes zero at x=2, so calculate P(2) instead of doing long division:

P(2)=23−4(2)+5=8−8+5=5

The remainder is 5. This avoids polynomial long division.

Expressions Involving x+1x

Example: If x+1x=5, find x2+1x2.

The required expression looks like the square of the given expression, but the square creates one extra middle term. Use the square identity:

(x+1x)2=x2+2+1x2

Since x(1x)=1, the middle term is 2. Move this extra 2 to the other side:

x2+1x2=(x+1x)2−2 =52−2=23

Here x≠0, because 1x must be defined.

Linear Inequalities

An inequality compares values instead of saying they are exactly equal.

  • x<7 means x is less than 7.
  • x>7 means x is greater than 7.
  • x≤7 means x is less than or equal to 7.
  • x≥7 means x is greater than or equal to 7.

We solve an inequality like an equation, with one special rule: multiplying or dividing every part by a negative number reverses the sign. The reason is that multiplication by a negative reflects numbers across zero. For example, 2<5, but after multiplying both numbers by −1, we get −2>−5.

Example: Solve 3x−5<16.

Add 5 to both sides:

3x<21

Divide by positive 3, so the sign stays the same:

x<7

For −2x<8, dividing by −2 reverses the sign, giving x>−4. Adding or subtracting a negative number does not flip the sign. Only multiplication or division by a negative number does.

Absolute Value Inequalities

Absolute value is distance from zero, so it is never negative. For example, both 5 and −5 are 5 units from zero. Therefore, |5|=5 and |−5|=5.

The expression |x−3| is the distance between x and 3. The statement |x−3|<5 says that x is less than 5 units away from 3.

In general, |u|<a, where a>0, means u lies between −a and a:

|u|<a⇔−a<u<a

Example: How many integers satisfy |x−3|<5?

−5<x−3<5

Add 3 to all three parts:

−2<x<8

The values strictly between −2 and 8 are −1,0,1,2,3,4,5,6,7. Count them carefully: there are 9 integer values. The endpoints −2 and 8 are not included because the signs are <, not ≤.

Arithmetic Progression

An arithmetic progression, or AP, is a list of numbers that changes by the same added amount each time. This fixed amount is called the common difference d.

In 3,7,11,15,ldots, each term is 4 more than the previous term. Therefore, d=4.

an=a+(n−1)d

Example: Find the 15th term of 3,7,11,ldots

The formula has n−1 because moving from the first term to the nth term takes n−1 jumps. To reach the 15th term from the first term, we make 14 jumps.

Here, the first term is a=3, the common difference is d=7−3=4, and n=15.

a15=3+(15−1)4=3+56=59

Geometric Progression

A geometric progression, or GP, is a list in which each term is made by multiplying the previous term by the same number. This fixed multiplier is called the common ratio r.

In 2,6,18,54,ldots, every term is 3 times the previous term, so r=3.

an=arn−1

Example: A counter starts at 1 and doubles after every step. How many steps are needed to show 32?

The sequence is 1,2,4,8,16,32. The first value exists before any step. After one step, the counter shows 2. After two steps, it shows 4.

Using a=1 and r=2 in the formula:

32=1×2n−1

Since 32=25, n−1=5 and n=6. The value 32 is the sixth term, but the starting value exists before any step. Therefore, it takes 6−1=5 steps.

This difference between term position and number of multiplications is a common aptitude trap.

For the same reason, if a display starts at 2 and is multiplied by 3 five times, the required value is the sixth term:

a6=2(3)6−1=2(35)=486

Common Mistakes

  • Combining terms that do not have the same variable part.
  • Forgetting brackets around a substituted negative number.
  • Changing only one sign when removing a bracket after a minus.
  • Moving a term across an equation without applying the same operation to both sides.
  • Multiplying only part of an equation when clearing fractions.
  • Translating “less than” in the wrong order.
  • Using elimination without first matching coefficients.
  • Choosing factors by product but forgetting to check their sum.
  • Accepting both parameter values without checking whether roots must be positive.
  • Forgetting restrictions such as x≠0 in reciprocal expressions.
  • Failing to reverse an inequality after dividing by a negative number.
  • Including endpoints in a strict inequality.
  • Confusing the term number of a GP with the number of multiplication steps.

A Step-by-Step Algebra Plan

When an algebraic relationship has several parts, use this order:

  1. Read what must be found. It may ask for x, another variable, or an expression such as 2x−5.
  2. Write down the known facts. For a relationship written in words, choose variables and turn each condition into an equation.
  3. Simplify each side. Open brackets and combine only like terms.
  4. Identify the type of relationship. It may be linear, simultaneous, quadratic, an inequality, a sequence, or a remainder calculation.
  5. Use one matching rule at a time. Keep both sides balanced when solving an equation.
  6. Continue until the requested value is found. Finding x may only be an intermediate step.
  7. Put the answer back into the original statement. Also check restrictions such as a denominator not being zero.

Formulas and Cheat Sheet

Concept Rule or formula
Distributive property a(b+c)=ab+ac
Square of a sum (a+b)2=a2+2ab+b2
Square of a difference (a−b)2=a2−2ab+b2
Difference of squares (a+b)(a−b)=a2−b2
Quadratic form ax2+bx+c=0
Discriminant D=b2−4ac
Quadratic formula x=−b±D2a
Sum of roots α+β=−ba
Product of roots αβ=ca
Remainder on division by x−a P(a)
Absolute value below a |u|<a⇔−a<u<a
AP nth term an=a+(n−1)d
GP nth term an=arn−1

Algebra becomes easier when each line has one clear purpose. First simplify brackets and like terms. Then identify the kind of relationship, choose the matching rule, and keep both sides balanced. Finally, substitute the result back into the original statement to check it.

Safe Shortcuts

  • In a linear equation containing fractions, multiply every term by the LCM of the denominators first. This is safe only when the same nonzero multiplier is applied to both sides.
  • Use (a+b)2−(a−b)2=4ab when both matching squares appear. Expanding each square separately gives the same result but takes longer.
  • For x2−Sx+P=0, look for two numbers whose sum is S and product is P. This shortcut finds the roots only when such factorisation is easy and exact.
  • Use the discriminant D=b2−4ac to judge the type of roots without solving the full quadratic: D>0 gives two real roots, D=0 gives one repeated real root, and D<0 gives no real roots.
  • If x+1x=k, square it to get x2+1x2=k2−2. This is safe only when x≠0.
  • When multiplying or dividing an inequality by a negative number, reverse the inequality sign immediately. Marking this step prevents the most common inequality error.

A shortcut is safe only when the expression has the required form and all restrictions are checked. It should shorten correct algebra, not replace the equation steps.

Frequently Asked Questions

What is the difference between an expression and an equation?

An expression has numbers, variables and operations but no equals sign. For example, 3x+5 is an expression. An equation states that two expressions are equal, such as 3x+5=20, and can often be solved for an unknown.

What are like terms in algebra?

Like terms have the same variables raised to the same powers. For example, 3x and −5x are like terms because both have x. However, 3x and 3x2 are not like terms because their powers are different.

Why must we perform the same operation on both sides?

Both sides represent equal values. Applying the same valid operation preserves that equality, like adding the same weight to both sides of a balanced scale.

When does an inequality sign reverse?

It reverses only when both sides are multiplied or divided by a negative number. It does not reverse when a negative number is merely added or subtracted.

How do I choose numbers for quadratic factorisation?

For ax2+bx+c, find two numbers whose product is ac and whose sum is b. Check both conditions. Then split the middle term using those numbers, make two groups, and take out common factors.

What does the discriminant tell us?

D=b2−4ac tells the nature of the roots. A positive value gives two different real roots, zero gives equal real roots, and a negative value gives no real roots.

What is the difference between AP and GP?

An AP has a constant difference between consecutive terms, so it repeatedly adds the same value. A GP has a constant ratio, so it repeatedly multiplies by the same value.

Why should I check an algebra answer?

Substitution can catch sign mistakes, incorrect roots and values that make a denominator zero. Put the answer back into the original question whenever possible.

What is a coefficient in algebra?

A coefficient is the number multiplying a variable. In 7x, the coefficient of x is 7. In −x, the coefficient is −1. Simplify the expression before naming a final coefficient.

How do I remove brackets correctly?

Multiply the number or sign outside the bracket by every term inside. If a minus sign is directly before a bracket, treat it as multiplication by −1, so every sign inside changes.

What does “less than” mean in an algebra word problem?

The order matters. “Five less than x” means x−5. Start with the quantity after the word “than,” then subtract 5 from it.

When should I use elimination or substitution?

Use elimination when coefficients can be made equal easily, especially when opposite terms already cancel. Use substitution when one equation already gives one variable alone or makes it easy to write one variable in terms of the other.

Can squaring both sides create a wrong answer?

Yes. Squaring can make a false negative form look valid, so always put answers back into the original radical equation. This extra check removes any answer that works only after squaring.

What is the difference between a root and a square root?

A root of an equation is a value that makes the equation true. A square root is a number that produces a given value when multiplied by itself. The word “root” depends on the context.