Logarithms
What is a logarithm?
A logarithm asks what power a base must be raised to in order to produce a number: 24=16⟺log216=4. Likewise 64=1296, so log61296=4.
The logarithm of a number between 0 and 1 is negative (log100.01=−2), and the logarithm of zero or a negative number is undefined for real numbers.
Common, natural and binary logarithms
- Common (base 10): log101000=3.
- Natural (base e≈2.71828), written lnx: it appears in continuous growth, such as FV=PV⋅eit.
- Binary (base 2), common in computer science: log28=3.
Logarithm rules
logb(xy)=logbx+logby,logb(yx)=logbx−logby,logb(xy)=ylogbxlogbx=logkblogkx(change of base),blogbx=xFor example, log832=log28log232=35.
Worked example: solving a log equation
Solve log2x+log2(x−2)=3.
Solution: Combine the logs: log2[x(x−2)]=3, so x(x−2)=8, that is x2−2x−8=0, giving x=4 or x=−2. Only x=4 works: x=−2 would need log2(−2), which is undefined. Check: log24+log22=2+1=3.
Worked example: counting digits
How many digits does 250 have, given log102≈0.30103?
Solution: log10250=50×0.30103=15.05. A number N with log10N between 15 and 16 has 16 digits. (Indeed 250=1,125,899,906,842,624.)
Worked example: simplifying with the rules
Each of these collapses to a whole number once the rules are applied in the right order:
log102+log105=log1010=1,log381−log39=log39=22log63+log64−log66=log669×4=log66=1Worked example: an exponential equation
Solve 3x=20. Take logarithms of both sides and bring the power down: xlog3=log20, so x=log3log20≈2.727. This is the change-of-base formula in action: x=log320.
Common mistakes
- Splitting a sum. log(x+y) is not logx+logy; the rule is for a product.
- Keeping invalid roots. Check every solution in the original equation's domain.
- Inverting change of base. It's logblogx, with the base underneath.
- Assuming log means ln. Check which base the question uses.
Where this comes up in exams
Powers, exponents and logarithms are listed under numerical computation in the General Aptitude syllabus of every GATE 2027 paper. JEE Advanced 2026 lists logarithms and their properties, and JEE Main 2026 lists logarithmic functions in its limits, continuity and differentiability unit.
Checked against GATE 2027 information brochure (General Aptitude syllabus), JEE (Advanced) 2026 syllabus and JEE (Main) 2026 syllabus (NTA). Syllabi can change from year to year, so confirm with the latest official notification for your exam.
- Fit it into your week with the free timetable generator.
- Mark it off as you revise in the syllabus tracker.
- See how long you have left: GATE 2027 countdown and JEE Advanced 2027 countdown.
Continue learning
Logarithms undo exponents, and they also solve growth and decay differential equations.
From past GATE papers
- GATE 2026 EC, Q.4: Logarithms
- GATE 2026 EC, Q.55: Shannon capacity
- GATE 2025 EC, Q.54: Entropy
- GATE 2025 EC, Q.63: Diode equation
- GATE 2024 EC, Q.4: Logarithms
- GATE 2024 EC, Q.12: Bode plots
- GATE 2024 EC, Q.34: Entropy
- GATE 2024 EC, Q.57: Quantisation SNR
- GATE 2023 EC, Q.31: ADC resolution and SNR
- GATE 2023 EC, Q.57: Bode plots
- GATE 2023 EC, Q.62: Sample and hold