MathSphere Logo

Mathematics Topics

Learn Mathematics step by step in English & Sinhala
ඉංග්‍රීසි සහ සිංහල භාෂාවලින් ගණිතය ඉගෙන ගන්න

📘 Algebra (වීජගණිතය)

Linear Equations

A Linear Equation is an equation where the highest power of the variable (usually x) is 1. When graphed, it forms a straight line.
විචල්‍යයේ ඉහළම බලය 1 වන සමීකරණ මෙයට අයත් වේ. මෙය ප්‍රස්තාරගත කළ විට සරල රේඛාවක් ලැබෙන බැවින් මෙයට "රේඛීය සමීකරණ" යැයි කියනු ලැබේ.


  • Standard Form: ax + b = 0

  • Example: 2x + 5 = 11

  • Solution: 2x = 6 ⇒ x = 3

Quadratic Equations

A Quadratic Equation is an equation where the highest power of the variable is 2. Its graph is a curve called a parabola.
මෙහි විචල්‍යයේ ඉහළම බලය 2 කි. මෙහි ප්‍රස්තාරය "පරාවලයක්" ලෙස හඳුන්වන වක්‍රයකි.


  • Standard Form: ax² + bx + c = 0 (where a ≠ 0)

  • Example: x² - 5x + 6 = 0

  • Solving Methods:

    1. Factorization (සාධක සෙවීම):
    2. (x - 2)(x - 3) = 0
      x - 2 = 0 ⇒ x = 2 or x - 3 = 0 ⇒ x = 3

    3. Quadratic Formula (සූත්‍රය භාවිතය):

    4. x = b ± b 2 4 a c 2 a
      b2-4ac;
         if value is positive, 2 real roots
         if value is negative, no real roots
         if value is zero, 1 real root
      x = (-5) ± (-5) 2 4 (1) (6) 2 (1)
      x = 5 ± 1 2
      x = 5 + 1 2   or x = 5 - 1 2
      x = 3   or x = 2

Polynomials

A Polynomial is an expression consisting of variables and coefficients, involving operations like addition, subtraction, and multiplication, with non-negative integer exponents.
බහුපදයක් යනු විචල්‍යයන් සහ සංගුණක එකතු කිරීම, අඩු කිරීම සහ ගුණ කිරීම මගින් සම්බන්ධ වූ ප්‍රකාශනයකි. මෙහි බලයන් සැමවිටම ධන පූර්ණ සංඛ්‍යා විය යුතුය.


  • Exponents must be positive whole numbers (0, 1, 2...). (බලයන් සැමවිටම ධන පූර්ණ සංඛ්‍යා විය යුතුය).

  • No division by variables (e.g.: 1 x is not allowed). (විචල්‍යයකින් බෙදීම සිදු නොවිය යුතුය).

  • No square roots of variables (e.g. : √x is not allowed). (විචල්‍යය වර්ගමූලයක් ඇතුළත නොතිබිය යුතුය).

Parts of a Polynomial (බහුපදයක කොටස්)


5x³ - 2x² + x - 7


  • Terms (පද): These are the parts separated by + or - signs. Here we have 4 terms.

  • Leading Term: The term with the highest power (5x³).

  • Degree (මාත්‍රාව): The highest exponent of the variable. In this case, the degree is 3.

  • Leading Coefficient (ප්‍රධාන සංගුණකය): The number multiplying the highest power variable (which is 5)

  • Constant (නියතය): The number without a variable (-7).

9 Basic Functions

Linear Function

Constant Function

Absolute Value Function

Logarithmic Function

Exponential Function

Reciprocal Function

Goniometric Function

Quadratic Function

Cubing Function

The linear function produces a straight line on a graph. Its general form is y = mx + b, where 'm' represents the slope, and 'b' is the y-intercept.

රේඛීය ශ්‍රිතයක් මගින් ප්‍රස්ථාරයක සරල රේඛාවක් නිර්මාණය වේ. එහි පොදු සමීකරණය y = mx + b වේ. මෙහි 'm' මගින් රේඛාවේ අනුක්‍රමණය නිරූපණය වේ. 'b' මගින් y-අන්තඃඛණ්ඩය එනම්, රේඛාව y-අක්ෂය කැපී යන ලක්ෂ්‍යය නිරූපණය වේ.
The constant function has a horizontal line as its graph. Its equation is y = c, where 'c' is a constant. For every input 'x', the output is always the same.

නියත ශ්‍රිතයක ප්‍රස්ථාරය තිරස් රේඛාවකි. එහි සමීකරණය y = c වන අතර, මෙහි 'c' යනු නියත අගයකි. මෙහිදී 'x' සඳහා ලබාදෙන ඕනෑම ආදානයකට ලැබෙන ප්‍රතිදානය සැමවිටම එකම අගයක් ගනී.
The absolute value function forms a V-shape, with its vertex at the origin. This function returns the non-negative value of a number, regardless of its sign.

නිරපේක්ෂ අගය ශ්‍රිතය මූල ලක්ෂ්‍යයේ (origin) ශීර්ෂය පිහිටන පරිදි 'V' හැඩයක් ගනී. මෙම ශ්‍රිතය මගින් ඕනෑම සංඛ්‍යාවක ලකුණ (+ හෝ -) නොසලකා, එහි ධන අගය පමණක් ලබා දෙයි.
The logarithmic function is the inverse of the exponential function. It increases at a decreasing rate, meaning the curve flattens out as 'x' grows larger. The graph has a vertical asymptote and passes through the point (1,0).

ලඝුගණක ශ්‍රිතය යනු ඝාතීය ශ්‍රිතයේ ප්‍රතිලෝමයයි. මෙය ක්‍රමයෙන් අඩුවන වේගයකින් ඉහළ යන බැවින්, 'x' අගය විශාලවත්ම ප්‍රස්ථාරයේ වක්‍රය තැටි ගැසෙන ස්වභාවයක් ගනී. මෙම ප්‍රස්ථාරයට සිරස් ස්පර්ශෝන්මුඛයක් ඇති අතර එය සැමවිටම (1,0) ලක්ෂ්‍යය හරහා ගමන් කරයි.
The exponential function is characterized by its rapid growth, where the rate of change is proportional to the function's current value. It is commonly used to model population growth, compound interest, and radioactive decay.

ඝාතීය ශ්‍රිතය එහි ඉතා වේගවත් වර්ධනය මගින් හඳුනාගත හැක. මෙහිදී විචලනය වීමේ වේගය ශ්‍රිතයේ පවතින අගයට සමානුපාතික වේ. මෙය සාමාන්‍යයෙන් ජනගහන වර්ධනය, සංයුක්ත පොලිය සහ විකිරණශීලී ක්ෂය වීම වැනි දෑ ආකෘතිකරණය කිරීමට බහුලව භාවිතා වේ.
The reciprocal function is defined as y = 1 x . Its graph consists of two separate branches, one in the first quadrant and the other in the third, with both horizontal and vertical asymptotes.

පරස්පර ශ්‍රිතය y = 1 x ලෙස අර්ථ දැක්වේ. මෙහි ප්‍රස්ථාරය එකිනෙකින් වෙන් වූ ශාඛා දෙකකින් සමන්විත වන අතර, ඉන් එකක් පළමු චතුරස්‍රයේත් අනෙක තුන්වන චතුරස්‍රයේත් පිහිටයි. මෙම ප්‍රස්ථාරයට තිරස් මෙන්ම සිරස් ස්පර්ශෝන්මුඛ පවතී.
The goniometric, or trigonometric function, like sine or cosine, has a periodic, wave-like shape. This repeating pattern is useful in describing cyclical phenomena such as sound waves and oscillations.

සයින් හෝ කොසයින් වැනි ත්‍රිකෝණමිතික ශ්‍රිත සඳහා ආවර්තිත, තරංගමය හැඩයක් පවතී. මෙම නැවත නැවත සිදුවන රටාව ශබ්ද තරංග සහ දෝලනය වැනි චක්‍රීය සංසිද්ධීන් විස්තර කිරීමට ඉතා ප්‍රයෝජනවත් වේ.
The quadratic function is a polynomial of degree two, and its graph is a parabola. The parabola can open upwards or downwards, depending on the sign of the leading coefficient.

වර්ගජ ශ්‍රිතයක් යනු දෙවන අංශකයේ බහුපද ශ්‍රිතයක් වන අතර එහි ප්‍රස්ථාරය පරාවලයක් ලෙස හැඳින්වේ. ප්‍රධාන සංගුණකයේ ලකුණ (+ හෝ -) අනුව මෙම පරාවලය ඉහළට හෝ පහළට විවෘත වේ.
The cubing function, or cubic function, is a third-degree polynomial. Its graph has a distinct S-shape, passing through the origin and extending to both positive and negative infinity.

ඝනජ ශ්‍රිතය යනු තෙවන අංශකයේ බහුපද ශ්‍රිතයකි. මෙහි ප්‍රස්ථාරයට පැහැදිලි 'S' හැඩයක් ඇති අතර, එය මූල ලක්ෂ්‍යය හරහා ගමන් කරමින් ධන සහ සෘණ අනන්තය දක්වා විහිදී යයි.

📐 Geometry (ජ්‍යාමිතිය)

Angles

An angle is formed when two lines meet at a common point called a vertex.
සරල රේඛා දෙකක් එකිනෙක හමුවන ලක්ෂ්‍යයකදී (ශීර්ෂය) කෝණයක් සෑදේ.


  • Acute Angle (සුළු කෝණය): Less than 90°.

  • Right Angle (සෘජු කෝණය): Exactly 90°.

  • Obtuse Angle (මහා කෝණය): Between 90° and 180°.

  • straight Angle (සරල කෝණය): Exactly 180°.

  • Reflex Angle (පරාවර්තී කෝණය): Greater than 180°.


Angle Theorems (කෝණ පිළිබඳ ප්‍රමේයයන්)


  • Complementary Angles (අනුපූරක කෝණ):

    When the sum of two angles is equal to 90°.
    (කෝණ දෙකක එකතුව 90° ක් වන විට.)


  • Supplementary Angles (පරිපූරක කෝණ):

    When the sum of two angles is equal to 180°.
    (කෝණ දෙකක එකතුව 180° ක් වන විට.)


  • Angles on a Straight Line:

    The sum is always 180°.
    (සරල රේඛාවක් මත පිහිටි කෝණවල එකතුව 180° කි.)


  • Vertically Opposite Angles:

    When two lines cross, opposite angles are equal.
    (සරල රේඛා දෙකක් කැපී ගිය විට සෑදෙන ප්‍රතිමුඛ කෝණ එකිනෙකට සමාන වේ.)


  • Angles at a Point:

    The sum of all angles around a point is 360°.
    (ලක්ෂ්‍යයක් වටා ඇති සියලුම කෝණවල එකතුව 360° කි.)

Triangles

A triangle is a closed shape with 3 sides and 3 angles. The sum of interior angles is always 180°
ත්‍රිකෝණයකට පාද 3ක් සහ කෝණ 3ක් ඇත. ඕනෑම ත්‍රිකෝණයක ඇතුළු කෝණවල එකතුව සැමවිටම 180° කි.


Types by Sides (පාද අනුව වර්ග):

  • Equilateral (සමපාද): All sides equal.

  • Isosceles (සමද්වීපාද): Two sides equal.

  • Scalene (විෂමපාද): No sides equal.

Types by Angles (කෝණ අනුව වර්ග):

  • Right-angled (සෘජුකෝණී): Has one 90° angle.

  • Acute-angled (සුළුකෝණී): All angles < 90°.

  • Obtuse-angled (මහාකෝණී): One angle > 90°.


Trigonometry Theorems (ත්‍රිකෝණමිතිය පිළිබඳ ප්‍රමේයයන්)


  • Mid-point Theorem (මධ්‍ය ලක්ෂ්‍ය ප්‍රමේයය):

    The line segment connecting the midpoints of two sides of a triangle is parallel to the third side and is exactly half the length of the third side.
    (ත්‍රිකෝණයක පාද දෙකක මධ්‍ය ලක්ෂ්‍යයන් යා කරන සරල රේඛාව, තුන්වන පාදයට සමාන්තර වන අතර එහි දිග තුන්වන පාදයේ දිගින් අඩක් වේ.)


  • Pythagoras Theorem (පයිතගරස් ප්‍රමේයය):

    In a right-angled triangle, the square of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the other two sides.
    (සෘජුකෝණී ත්‍රිකෝණයක කර්ණයෙහි (සෘජුකෝණයට ඉදිරියෙන් ඇති දිගම පාදය) වර්ගය, අනෙක් පාද දෙකෙහි වර්ගවල එකතුවට සමාන වේ.)


  • Congruency of Triangles (ත්‍රිකෝණවල සර්වසමතාව):

    Two triangles are congruent if they are identical in shape and size. There are four main cases to prove congruency.
    (ත්‍රිකෝණ දෙකක් හැඩයෙන් සහ ප්‍රමාණයෙන් එකිනෙකට සම්පූර්ණයෙන්ම සමාන නම් ඒවා සර්වසම ත්‍රිකෝණ වේ. සර්වසමතාව ඔප්පු කිරීමට ප්‍රධාන අවස්ථා 4ක් ඇත)


    1. SSS (Side-Side-Side) / පා.පා.පා (පාදය-පාදය-පාදය):

      All three sides of one triangle are equal to the three sides of another.
      (එක් ත්‍රිකෝණයක පාද තුන අනෙක් ත්‍රිකෝණයේ පාද තුනට සමාන වීම.)


    2. SAS (Side-Angle-Side) / පා.කෝ.පා (පාදය-කෝණය-පාදය):

      Two sides and the included angle (the angle between them) are equal.
      (පාද දෙකක් සහ එම පාද අතර ඇති කෝණය සමාන වීම.)


    3. AAS or ASA (Angle-Angle-Side) / කෝ.කෝ.පා (කෝණය-කෝණය-පාදය):

      Two angles and a corresponding side are equal.
      (කෝණ දෙකක් සහ එක් පාදයක් සමාන වීම.)


    4. RHS (Right angle-Hypotenuse-Side) / ක.පා.සී (කර්ණය-පාදය-සෘජුකෝණය):

      In right-angled triangles, the hypotenuse and one other side are equal.
      (සෘජුකෝණී ත්‍රිකෝණ දෙකක කර්ණය සහ තවත් එක් පාදයක් සමාන වීම.)

Circles

A circle is a set of points equidistant from a center point.
මධ්‍ය ලක්ෂ්‍යයක සිට සමාන දුරකින් පිහිටි ලක්ෂ්‍ය සමූහයකින් වෘත්තයක් සෑදේ.


  • Chord (ජ්‍යාය): A line segment connecting two points on the edge.

  • Tangent (ස්පර්ශකය): A line that touches the circle at exactly one point.


Circle Theorems (වෘත්ත ප්‍රමේයයන්)


  • Angle at the Center:

    The angle at the center is twice the angle at the circumference from the same arc.
    (එකම චාපයකින් කේන්ද්‍රයේ සාදන කෝණය පරිධියේ සාදන කෝණය මෙන් දෙගුණයකි.)


  • Angle in a Semi-circle:

    Any angle drawn from the diameter to the circumference is 90°.
    (විෂ්කම්භය මගින් පරිධියේ සාදන කෝණය සැමවිටම 90° කි.)


  • Cyclic Quadrilateral:

    Opposite angles of a quadrilateral inside a circle add up to 180°.
    (චක්‍රීය චතුරස්‍රයක සම්මුඛ කෝණවල එකතුව 180° කි.)


  • Radius-Tangent Theorem:

    A tangent is always perpendicular (90°) to the radius at the point of contact.
    (ස්පර්ශ ලක්ෂ්‍යයේදී අරය සහ ස්පර්ශකය අතර කෝණය සැමවිටම 90° කි.)

📊 Trigonometry (ත්‍රිකෝණමිතිය)

Trigonometric Ratios

In a right-angled triangle, we use the following ratios:
(සෘජුකෝණී ත්‍රිකෝණයකදී අපි මෙම අනුපාත භාවිතා කරමු:)

  • sin θ = Opposite Hypotenuse = සම්මුඛ පාදය කර්ණය

  • cos θ = Adjacent Hypotenuse = බද්ධ පාදය කර්ණය

  • tan θ = Opposite Adjacent = සම්මුඛ පාදය බද්ධ පාදය

Reciprocal Ratios

These are the inverses of the basic ratios:
(මේවා මූලික අනුපාතවල පරස්පරයන් වේ.)

  • cosec θ = 1 sin θ

  • sec θ = 1 cos θ

  • cot θ = 1 tan θ

Trigonometric Identities

These formulas are true for any angle θ:
(මෙම සූත්‍ර ඕනෑම θ කෝණයක් සඳහා සත්‍ය වේ.)

  • sin²θ + cos²θ = 1

  • tan θ = sin θ cos θ

  • 1 + tan²θ = sec²θ

  • 1 + cot²θ = cosec²θ
  • .

Sine and Cosine Rules

These are used for any type of triangle (not just right-angled):
(මේවා ඕනෑම ත්‍රිකෝණයක් සඳහා භාවිතා කළ හැක (සෘජුකෝණී නොවන ත්‍රිකෝණ සඳහාද).)

  • Sine Rule (සයින් නීතිය):
  • a sin A = b sin B = c sin C


  • Cosine Rule (කොසයින් නීතිය):
  • a² = b² + c² -2bc cos A

Values for Specific Angles

It is helpful to remember these common values:
(මෙම පොදු අගයන් මතක තබා ගැනීම ඉතා ප්‍රයෝජනවත් වේ.)

Angle (θ) sin θ cos θ tan θ
0 1 0
30° 1 2 √3 2 1 √3
45° 1 √2 1 √2 1
60° √3 2 1 2 √3
90° 1 0 Undefined (නිශ්චිත නැත)

📈 Calculus (කලනය)

Limits

Limits are the foundation of calculus. They describe the value a function approaches as the input (x) gets closer and closer to a specific number.
(කලනයේ පදනම සීමා වේ. යම් ශ්‍රිතයකට ලබාදෙන අගය (x) කිසියම් නිශ්චිත අගයකට ඉතා ආසන්න වන විට, එම ශ්‍රිතය ලඟා වන අගය මෙයින් විස්තර වේ.)

  • Notation: limx → a f(x) = L

  • Meaning: As x approaches a, the function f(x) approaches L

  • Example: limx → 2 (x + 3) = 5

Basic Algebraic Limits

  • $$\lim_{x \to a} \frac{x^n - a^n}{x - a} = na^{n-1}$$
  • $$\lim_{x \to a} c = c$$ (නියතයක සීමාව එම නියතයම වේ.)
  • $$\lim_{x \to a} x = a$$

Trigonometric Limits

  • $$\lim_{x \to 0} \frac{\sin x}{x} = 1$$
  • $$\lim_{x \to 0} \frac{\tan x}{x} = 1$$
  • $$\lim_{x \to 0} \cos x = 1$$

Exponential and Logarithmic Limits

  • $$\lim_{x \to 0} \frac{e^x - 1}{x} = 1$$
  • $$\lim_{x \to 0} \frac{\ln(1+x)}{x} = 1$$
  • $$\lim_{n \to \infty} (1 + \frac{1}{n})^n = e$$

Properties of Limits

  • $$\lim [f(x) + g(x)] = \lim f(x) + \lim g(x)$$
  • $$\lim [f(x) \cdot g(x)] = \lim f(x) \cdot \lim g(x)$$
  • $$\lim [\frac{f(x)}{g(x)}] = \frac{\lim f(x)}{\lim g(x)}$$ (මෙහි lim g(x) ≠ 0 විය යුතුය)

Differentiation

Differentiation is used to find the instantaneous rate of change or the gradient (slope) of a curve at a given point.
(අවකලනය මගින් යම් ප්‍රස්තාරයක හෝ ශ්‍රිතයක කිසියම් ලක්ෂ්‍යයක පවතින අනුක්‍රමණය හෝ වෙනස් වීමේ වේගය මැනිය හැකිය.)

  • The derivative dy dx represents the slope of the tangent line.

  • Real-world use: If you have an equation for position, the derivative gives you velocity.

Basic Rules

  • $$\frac{d}{dx}(c) = 0$$ (ඕනෑම නියත සංඛ්‍යාවක අවකලනය ශුන්‍ය වේ.)
  • $$\frac{d}{dx}(x^n) = nx^{n-1}$$
  • $$\frac{d}{dx}(cf(x)) = c \cdot f'(x)$$

Trigonometric Differentiation

  • $$\frac{d}{dx}(\sin x) = \cos x$$
  • $$\frac{d}{dx}(\cos x) = -\sin x$$
  • $$\frac{d}{dx}(\tan x) = \sec^2 x$$

Exponential and Logarithmic Rules

  • $$\frac{d}{dx}(e^x) = e^x$$
  • $$\frac{d}{dx}(\ln x) = \frac{1}{x}$$

Advanced Rules

  • $$ \frac{d}{dx}(uv) = u\frac{dv}{dx} + v\frac{du}{dx} $$
  • $$ \frac{d}{dx}\left(\frac{u}{v}\right) = \frac{v\frac{du}{dx} - u\frac{dv}{dx}}{v^2} $$
  • $$ \frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} $$

Integration

Integration is the reverse process of differentiation. It is primarily used to find the area under a curve.
(අනුකලනය යනු අවකලනයේ ප්‍රතිවිරුද්ධ ක්‍රියාවලියයි. වක්‍රයකින් වට වූ වර්ගඵලය සෙවීමට මෙය ප්‍රධාන වශයෙන් භාවිතා කරයි.)

  • Summing up tiny slices to find a total area.

  • Real-world use: If you have an equation for velocity, the integral gives you the distance traveled (ගමන් කළ දුර).

Basic Algebraic Rules

  • $$\int x^n \, dx = \frac{x^{n+1}}{n+1} + C \quad (n \neq -1)$$
  • $$\int k \, dx = kx + C$$
  • $$\int \frac{1}{x} \, dx = \ln|x| + C$$

Trigonometric Integration

  • $$\int \sin x \, dx = -\cos x + C$$
  • $$\int \cos x \, dx = \sin x + C$$
  • $$\int \sec^2 x \, dx = \tan x + C$$
  • $$\int \csc^2 x \, dx = -\cot x + C$$

Exponential Rules

  • $$\int e^x \, dx = e^x + C$$
  • $$\int a^x \, dx = \frac{a^x}{\ln a} + C$$

🎲 Probability (සම්භාවිතාව)

Basic Probability

It is the ratio of the number of favorable outcomes to the total number of possible outcomes.
සිදුවීමක් සිදුවීමේ හැකියාව මැනීම මෙහිදී සිදු කෙරේ. හිතකර ප්‍රතිඵල සංඛ්‍යාව මුළු ප්‍රතිඵල සංඛ්‍යාවෙන් බෙදීමෙන් මෙය ලබා ගනී.

  • Formula: P(A) = n(A) n(S)

  •    n(A) = Number of favorable outcomes
       n(S) = Total possible outcomes

  • Example: Imagine you roll a standard six-sided die. What is the probability of getting an even number (2, 4, or 6)?

  •    (S) = {1, 2, 3, 4, 5, 6} → n(S) = 6
       (A) = {4} → n(A) = 1
       p(A) = 1 6

Conditional Probability

This applies to dependent events where the occurrence of one event affects the probability of another.
එක් සිදුවීමක් සිදුවීම තවත් සිදුවීමක සම්භාවිතාව කෙරෙහි බලපාන අවස්ථා මෙයට අයත් වේ.

  • Formula: P(A|B) = P(A∩B) P(B)

  •    P(A|B) = Probability of A occurring given B has happened
       P(A∩B) = Probability of both A and B occurring together
       P(B) = Probability of event B occurring

  • Example: A bag contains 3 Red balls and 2 Blue balls. You draw two balls one after the other without replacement

  •    p(A|B) = 2 4 = 1 2

Random Variables


Discrete Random Variables
(විවික්ත අහඹු විචල්‍ය)

  • These are variables that have a finite or countable number of possible values. You can count them (1, 2, 3...).

  • (නිශ්චිතව ගණන් කළ හැකි අගයන් සහිත විචල්‍යයන් වේ.)


  • For Discrete variables, we use a Probability Mass Function (PMF)

  • Example: The number of students in a class or the number of heads in a coin toss.

Continuous Random Variables
(අඛණ්ඩ අහඹු විචල්‍ය)

  • These variables can take any value within a given range or interval. They are usually measured rather than counted.

  • (දී ඇති පරාසයක් තුළ ඕනෑම අගයක් ගත හැකි විචල්‍යයන් වේ.)


  • For Continuous variables, we use a Probability Density Function (PDF)

  • Example: Measuring weight, height, or time.

📉 Statistics (සංඛ්‍යාත්මක විද්‍යාව)

Mean

The mean is calculated by summing all the individual values in a data set and dividing that total by the number of values present.
දත්ත පද්ධතියක ඇති සියලුම අගයන්ගේ එකතුව, එම දත්ත සංඛ්‍යාවෙන් බෙදූ විට ලැබෙන සාමාන්‍ය අගය මධ්‍යන්‍යය ලෙස හැඳින්වේ.

  • Formula:
  • $$\bar{x} = \frac{\sum x_i}{n}$$
  • Example: Suppose a group of students scored the following marks in a small quiz: 10, 20, 20, 30, and 70.
  • $$\frac{10+20+20+30+70}{5} = \frac{150}{5} = 30$$

Median

To find the median, you must first sort the data in ascending or descending order. If there is an odd number of values, the median is the middle one. If there is an even number, it is the average of the two middle values.
දත්ත ආරෝහණ හෝ අවරෝහණ පිළිවෙලට සැකසූ විට මැදින්ම ඇති අගය මධ්‍යස්ථය ලෙස හැඳින්වේ.

  • Example: Suppose we have the same scores from the previous example: 10, 20, 20, 30, 70.

  • Arrange data: 10, 20, 20, 30, 70

    Identify middle: Since there are 5 values, the 3rd value is the center

    Result: Median = 20

Mode

The mode is the value that appears most often. A data set can have one mode, more than one mode (multimodal), or no mode at all if all values appear only once.
දත්ත පද්ධතියක වැඩිම වාර ගණනක් වාර්තා වී ඇති අගය මාතය ලෙස හැඳින්වේ.

  • Example: Suppose we have the same scores from the previous example: 10, 20, 20, 30, 70.

  • Count frequencies: 10 (once), 20 (twice), 30 (once), 70 (once)

    Identify most frequent: 20 appears the most

    Result: Mode = 20

🧭 Vectors (ද‌ෛශික)

Introduction to Vectors

A Vector is a quantity that has both a magnitude (size) and a direction. Unlike scalars (like mass or time), you cannot describe a vector without saying which way it is pointing.
දෛශිකයක් යනු විශාලත්වයක් මෙන්ම දිශාවක් ද පවතින රාශියකි. ස්කන්ධය හෝ කාලය වැනි අදීශ රාශි මෙන් නොව, දෛශිකයක් විස්තර කිරීමේදී එය කුමන දිශාවකට යොමු වී ඇත්ද යන්න පැවසීම අත්‍යවශ්‍ය වේ.

  • Magnitude (විශාලත්වය): The length of the vector.

  • Direction (දිශාව): The orientation of the vector in space.

Types of Vectors

There are several specific types of vectors used in mathematics and physics.
ගණිතයේදී සහ භෞතික විද්‍යාවේදී භාවිතා වන ප්‍රධාන දෛශික වර්ග කිහිපයකි.

  • Zero Vector (ශුන්‍ය දෛශිකය): A vector with zero magnitude and no specific direction (denoted as 0).


  • Unit Vector (ඒකක දෛශිකය): A vector that has a magnitude of exactly 1. Standard unit vectors are î, ĵ, k̂ for the x, y, and z axes.
    (විශාලත්වය හරියටම 1 ක් වන දෛශික ඒකක දෛශික ලෙස හැඳින්වේ.)


  • Equal Vectors (සමාන දෛශික): Two vectors are equal if they have the same magnitude AND the same direction.
    (දෛශික දෙකක විශාලත්වය සහ දිශාව යන දෙකම සමාන නම් ඒවා සමාන දෛශික වේ.)

Vector Addition

When adding two vectors, we find the resultant vector. If we have a = (x1, y1) and b = (x2, y2), then:
දෛශික දෙකක් එකතු කළ විට අපට සම්ප්‍රයුක්ත දෛශිකය ලැබේ.

a + b = (x1 + x2 , y1 + y2)

Scalar Multiplication

Multiplying a vector by a scalar (a number) changes its magnitude but usually keeps the same direction (or exactly opposite if the number is negative).
දෛශිකයක් සංඛ්‍යාවකින් (අදීශයකින්) ගුණ කළ විට එහි විශාලත්වය වෙනස් වේ.

  • Example: If v = 2î + 3ĵ, then 2v = 4î + 6ĵ .

Dot Product / Scalar Product

The Dot Product of two vectors results in a scalar (a simple number), not another vector. It measures how much one vector points in the direction of another.
දෛශික දෙකක අදීශ ගුණිතයෙන් ලැබෙන්නේ තවත් දෛශිකයක් නොව අදීශයක් (සංඛ්‍යාවක්) පමණි.

  • Formula: a · b = |a| |b| cosθ

(Where θ is the angle between the two vectors)

Applications of Vectors

Vectors are essential in fields like physics, engineering, and computer graphics.
භෞතික විද්‍යාව, ඉංජිනේරු විද්‍යාව සහ පරිගණක ග්‍රැෆික්ස් වැනි ක්ෂේත්‍රවල දෛශික අත්‍යවශ්‍ය වේ.

  • Force (බලය): Pushing or pulling in a specific direction.

  • Velocity (ප්‍රවේගය): Speed in a given direction.

  • Displacement (විස්ථාපනය): Change in position from start to end.