lecture6newnew

Table of contents

  1. Real functions, elementary functions and their inverses, Polynomials and interpolations

  2. Pointwise operations of real functions

  3. Composite functions

  4. Properties of functions

  5. Properties of sine and cosine functions

  6. Polynomials

  7. Polynomials and interpolation

  8. Lagrange interpolation

1. Real functions, elementary functions and their inverses, Polynomials and interpolations

1.1 Real functions and their graphs

A real function f:D→Rf: D \to \mathbb{R} has a domain DD that is a subset of real numbers R\mathbb{R}. The graph of ff is the set of all points (x,f(x))(x, f(x)) for x∈Dx \in D, which can be visualized in a coordinate system 2.

1.2 Transformations of function graphs

Various transformations can be applied to the graph of a function y=f(x)y = f(x) to produce new graphs. These transformations include shifts, reflections, and stretches or shrinks 3.

Equation

How to obtain the graph

$y = f(x) + c$ ($c > 0$)

Shift the graph of $y = f(x)$ up by $c$ units

$y = f(x) - c$ ($c > 0$)

Shift the graph of $y = f(x)$ down by $c$ units

$y = f(x + c)$ ($c > 0$)

Shift the graph of $y = f(x)$ left by $c$ units

$y = f(x - c)$ ($c > 0$)

Shift the graph of $y = f(x)$ right by $c$ units

$y = -f(x)$

Reflect the graph of $y = f(x)$ over the x-axis

$y = f(-x)$

Reflect the graph of $y = f(x)$ over the y-axis

$y = a \cdot f(x)$ ($a > 1$)

Stretch the graph of $y = f(x)$ vertically by factor $a$

$y = a \cdot f(x)$ ($0 < a < 1$)

Shrink the graph of $y = f(x)$ vertically by factor $a$

$y = f(a \cdot x)$ ($a > 1$)

Shrink the graph of $y = f(x)$ horizontally by factor $a$

$y = f(a \cdot x)$ ($0 < a < 1$)

Stretch the graph of $y = f(x)$ horizontally by factor $a$

📝 Shifting the sine function y=sin⁡(x)y = \sin(x) up by 2 units results in y=sin⁡(x)+2y = \sin(x) + 2. Shifting it right by π/2\pi/2 units results in y=sin⁡(x−π/2)y = \sin(x - \pi/2).

The top chart displays various transformations of the sine function, including vertical shifts, horizontal shifts, and amplitude changes.

1.3 Invertible functions and their inverses

A function f:D→Rf: D \to \mathbb{R} is invertible if its inverse relation f−1f^{-1} is also a function. This means that for any two distinct inputs x1x_1 and x2x_2 in the domain DD, their images f(x1)f(x_1) and f(x2)f(x_2) must also be distinct 5.

📝 The function f(x)=x2f(x) = x^2 defined on R\mathbb{R} is not invertible because, for instance, f(2)=4f(2) = 4 and f(−2)=4f(-2) = 4, meaning different inputs yield the same output 6.

This graph illustrates the function f(x) = x^2, showing that for different x values (e.g., 2 and -2), the function can produce the same y value, indicating it is not invertible.

1.4 Inverses of elementary functions

By restricting the domain of a non-invertible function, it can become invertible. For example, if f(x)=x2f(x) = x^2 is restricted to the domain [0,∞)[0, \infty), its inverse is f−1(x)=xf^{-1}(x) = \sqrt{x} 6 7.

Function Type

Function

Inverse Function

Power function

$x \mapsto x^n$, $x \in [0, \infty)$ ($n \in \mathbb{N}, n > 2$)

$x \mapsto \sqrt[n]{x}$, $x \in [0, \infty)$ ($n \in \mathbb{N}, n > 2$)

Exponential function

$x \mapsto a^x$, $x \in \mathbb{R}$ ($a > 0, a \neq 1$)

$x \mapsto \log_a(x)$, $x \in (0, \infty)$

This chart displays the graphs of a function f(x) = x^2 and its inverse function g(x) = sqrt(x) on the same coordinate plane.

1.5 Inverse trigonometric functions

The inverses of trigonometric functions are known as arcus functions. These functions have restricted domains to ensure invertibility 8.

Trigonometric Function

Its Inverse

Domain of Inverse

Range of Inverse

$x \mapsto \sin(x)$, $x \in [-\frac{\pi}{2}, \frac{\pi}{2}]$

$x \mapsto \sin^{-1}(x) = \arcsin(x)$

$[-1, 1]$

$[-\frac{\pi}{2}, \frac{\pi}{2}]$

$x \mapsto \cos(x)$, $x \in [0, \pi]$

$x \mapsto \cos^{-1}(x) = \arccos(x)$

$[-1, 1]$

$[0, \pi]$

$x \mapsto \tan(x)$, $x \in (-\frac{\pi}{2}, \frac{\pi}{2})$

$x \mapsto \tan^{-1}(x) = \arctan(x)$

$\mathbb{R}$

$[-\frac{\pi}{2}, \frac{\pi}{2}]$

$x \mapsto \cot(x)$, $x \in (0, \pi)$

$x \mapsto \cot^{-1}(x) = \operatorname{arccot}(x)$

$\mathbb{R}$

$(0, \pi)$

📝 The inverse sine function, arcsin⁡(x)\arcsin(x), takes a value between -1 and 1 and returns an angle between −π/2-\pi/2 and π/2\pi/2 whose sine is xx.

This chart displays the graphs of three inverse trigonometric functions: arcsin(x), arccos(x), and arctan(x).

2. Pointwise operations of real functions

2.1 Pointwise operations

Pointwise operations define how real functions can be combined using standard arithmetic operations. These operations apply to functions ff and gg with the same domain D⊆R→RD \subseteq \mathbb{R} \to \mathbb{R} and a constant λ∈R\lambda \in \mathbb{R} 10.

Operation

Definition

Sum

$(f + g)(x) = f(x) + g(x)$

Multiplication by constant

$(\lambda \cdot g)(x) = \lambda \cdot g(x)$

Product

$(fg)(x) = f(x) \cdot g(x)$

Quotient

$\frac{f}{g}(x) = \frac{f(x)}{g(x)}$, where $g(x) \neq 0$

📝 If f(x)=x2f(x) = x^2 and g(x)=x+1g(x) = x+1, then (f+g)(x)=x2+x+1(f+g)(x) = x^2 + x + 1, and (3⋅f)(x)=3x2(3 \cdot f)(x) = 3x^2.

2.2 Hyperbolic functions

Hyperbolic functions are defined using exponential functions and are analogous to trigonometric functions. Their inverses are called area functions 11.

Function

Notation

Definition

Sine hyperbolic

sinh(x) or sh(x)

$\frac{e^x - e^{-x}}{2}$

Cosine hyperbolic

cosh(x) or ch(x)

$\frac{e^x + e^{-x}}{2}$

Tangent hyperbolic

tanh(x) or th(x)

$\frac{e^x - e^{-x}}{e^x + e^{-x}}$

Cotangent hyperbolic

coth(x) or cth(x)

$\frac{e^x + e^{-x}}{e^x - e^{-x}}$

Graphs of hyperbolic sine and cosine functions and related exponential functions.

2.3 Inverse hyperbolic functions (area functions)

The inverse hyperbolic functions, also known as area functions, provide the value xx for a given hyperbolic function result. Each inverse function has a specific domain 11.

Inverse Function

Definition

Domain

Area sine hyperbolic

$\text{arsinh}(x) = \ln(x + \sqrt{x^2 + 1})$

$x \in \mathbb{R}$

Area cosine hyperbolic

$\text{arcosh}(x) = \ln(x + \sqrt{x^2 - 1})$

$x > 1$

Area tangent hyperbolic

$\text{artanh}(x) = \frac{1}{2} \ln\left(\frac{1 + x}{1 - x}\right)$

$\vert x\vert < 1$

Area cotangent hyperbolic

$\text{arcoth}(x) = \frac{1}{2} \ln\left(\frac{x + 1}{x - 1}\right)$

$\vert x\vert > 1$

📝 To find arsinh(0)\text{arsinh}(0), substitute x=0x=0 into the formula: arsinh(0)=ln⁡(0+02+1)=ln⁡(1)=0\text{arsinh}(0) = \ln(0 + \sqrt{0^2 + 1}) = \ln(1) = 0.

3. Composite functions

3.1 Definition of composite functions

A composite function results from applying one function to the result of another function. If f:A→Bf: A \to B and g:B→Cg: B \to C are functions, their composition, denoted g∘fg \circ f, is also a function 13.

  • Domain: The domain of g∘fg \circ f is the set of all xx in the domain of ff such that f(x)f(x) is in the domain of gg.

  • Rule: For any xx in its domain, (g∘f)(x)=g(f(x))(g \circ f)(x) = g(f(x)) 13.

📝 Consider f(x)=x2f(x) = x^2 and g(x)=sin⁡(x)g(x) = \sin(x). Then (g∘f)(x)=g(f(x))=g(x2)=sin⁡(x2)(g \circ f)(x) = g(f(x)) = g(x^2) = \sin(x^2). However, (f∘g)(x)=f(g(x))=f(sin⁡x)=(sin⁡x)2(f \circ g)(x) = f(g(x)) = f(\sin x) = (\sin x)^2. This shows that f∘g≠g∘ff \circ g \neq g \circ f in general 13.

3.2 Inverse functions and composition

When a function is composed with its inverse, the result is the identity function. This means that applying a function and then its inverse (or vice versa) returns the original input 13.

  • Property: For a function ff and its inverse f−1f^{-1}, the composition (f∘f−1)(x)=x(f \circ f^{-1})(x) = x and (f−1∘f)(x)=x(f^{-1} \circ f)(x) = x 13.

4. Properties of functions

4.1 Boundedness

A real function f:D→Rf: D \to \mathbb{R} is bounded if its range is limited from above or below. The maximum or minimum of the function's range, if it exists, is called the maximum or minimum of the function 14.

  • Bounded from above: There is a real number KK such that f(x)≤Kf(x) \le K for all x∈Dx \in D.

  • Bounded from below: There is a real number kk such that k≤f(x)k \le f(x) for all x∈Dx \in D 14.

4.2 Monotonicity15

A real function f:D⊆R→Rf: D \subseteq \mathbb{R} \to \mathbb{R} is monotone if its values consistently increase or decrease over its domain 14.

Type of monotonicity

Condition for $x_1 < x_2$

Monotone increasing

$f(x_1) \le f(x_2)$

Strictly monotone increasing

$f(x_1) < f(x_2)$

Monotone decreasing

$f(x_1) \ge f(x_2)$

Strictly monotone decreasing

$f(x_1) > f(x_2)$

4.3 Local maxima and minima

A function has a local maximum or minimum at a point x0x_0 if its value at x0x_0 is the greatest or least within a small interval around x0x_0 15.

  • Local maximum: For some ϵ>0\epsilon > 0, f(x0)≥f(x)f(x_0) \ge f(x) for all x∈(x0−ϵ,x0+ϵ)∩Dx \in (x_0 - \epsilon, x_0 + \epsilon) \cap D.

  • Local minimum: For some ϵ>0\epsilon > 0, f(x0)≤f(x)f(x_0) \le f(x) for all x∈(x0−ϵ,x0+ϵ)∩Dx \in (x_0 - \epsilon, x_0 + \epsilon) \cap D 15.

This chart illustrates the local maxima and minima of a real function, showing peaks and valleys on a graph with x and y axes.

4.4 Zeros of a function

A zero of a function ff is a value x0x_0 in its domain where f(x0)=0f(x_0) = 0. If ff is a polynomial, x0x_0 is also called a root of ff 16.

4.5 Convexity and concavity

A function f:D⊆R→Rf: D \subseteq \mathbb{R} \to \mathbb{R} is convex or concave on an interval DD based on the position of line segments connecting any two points on its graph relative to the graph itself 17.

  • Convex function: For all x,y∈Dx, y \in D and λ∈[0,1]\lambda \in [0, 1], λf(x)+(1−λ)f(y)≥f(λx+(1−λ)y)\lambda f(x) + (1-\lambda)f(y) \ge f(\lambda x + (1-\lambda)y).

    • Geometrically, the line segment connecting (x1,f(x1))(x_1, f(x_1)) and (x2,f(x2))(x_2, f(x_2)) lies above the graph of ff.
  • Concave function: If −f-f is convex on DD.

    • Geometrically, the line segment connecting (x1,f(x1))(x_1, f(x_1)) and (x2,f(x2))(x_2, f(x_2)) lies below the graph of ff 18.
  • Inflection point: A point x0∈Dx_0 \in D where the function changes from convex to concave, or vice versa, in an interval around x0x_0 17.

Diagram illustrating the geometric definition of convexity and concavity for real functions.

4.6 Even, odd, and periodic functions

These properties describe a function's symmetry or repetitive behavior over its domain 19.

  • Symmetric set: A set D⊆RD \subseteq \mathbb{R} is symmetric if for every x∈Dx \in D, −x-x is also in DD.

  • Even function: For a symmetric domain DD, f(x)=f(−x)f(x) = f(-x) for all x∈Dx \in D.

📝 The function f(x)=x2f(x) = x^2 is an even function because f(x)=x2f(x) = x^2 and f(−x)=(−x)2=x2f(-x) = (-x)^2 = x^2, so f(x)=f(−x)f(x) = f(-x).

  • Odd function: For a symmetric domain DD, −f(x)=f(−x)-f(x) = f(-x) for all x∈Dx \in D.

📝 The function f(x)=x3f(x) = x^3 is an odd function because f(−x)=(−x)3=−x3f(-x) = (-x)^3 = -x^3, which is equal to −f(x)-f(x).

  • Periodic function: There exists a positive real number pp such that f(x+p)=f(x)f(x+p) = f(x) for all x∈Dx \in D.

    • The smallest such positive number pp is called the period of ff.

📝 Trigonometric functions like sin⁡(x)\sin(x) and cos⁡(x)\cos(x) are periodic, with a period of 2π2\pi 19.

5. Properties of sine and cosine functions

5.1 General properties of sine and cosine functions

Both sine and cosine functions are defined for all real numbers, meaning their domain is R\mathbb{R}. They are also bounded functions, with their output values always falling between -1 and 1, inclusive 20 21.

Property

Sine function ($x \to \sin(x)$)

Cosine function ($x \to \cos(x)$)

Domain

$\mathbb{R}$

$\mathbb{R}$

Range, boundedness

$[-1, 1]$, bounded

$[-1, 1]$, bounded

Period

$2\pi$

$2\pi$

5.2 Zero sets and parity

The zero set of a function refers to the values of xx for which the function's output is zero. Parity describes whether a function is even or odd, affecting its symmetry 20 21.

Property

Sine function ($x \to \sin(x)$)

Cosine function ($x \to \cos(x)$)

Zero set

$x = k \cdot \pi, k \in \mathbb{Z}$

$x = \frac{\pi}{2} + k \cdot \pi, k \in \mathbb{Z}$

Parity

Odd, i.e., $\sin(-x) = -\sin(x)$

Even, i.e., $\cos(-x) = \cos(x)$

5.3 Monotonicity and convexity

Monotonicity describes intervals where a function is strictly increasing or decreasing, while convexity and concavity relate to the curvature of the function's graph 20 21.

Property

Sine function ($x \to \sin(x)$)

Cosine function ($x \to \cos(x)$)

Strictly increasing

$x \in [-\frac{\pi}{2} + k \cdot 2\pi, \frac{\pi}{2} + k \cdot 2\pi], k \in \mathbb{Z}$

$x \in [-\pi + k \cdot 2\pi, k \cdot 2\pi], k \in \mathbb{Z}$

Strictly decreasing

$x \in [\frac{\pi}{2} + k \cdot 2\pi, \frac{3\pi}{2} + k \cdot 2\pi], k \in \mathbb{Z}$

$x \in [k \cdot 2\pi, \pi + k \cdot 2\pi], k \in \mathbb{Z}$

Convex

$x \in [-\pi + k \cdot 2\pi, k \cdot 2\pi], k \in \mathbb{Z}$

$x \in [\frac{\pi}{2} + k \cdot 2\pi, \frac{3\pi}{2} + k \cdot 2\pi], k \in \mathbb{Z}$

Concave

$x \in [k \cdot 2\pi, \pi + k \cdot 2\pi], k \in \mathbb{Z}$

$x \in [-\frac{\pi}{2} + k \cdot 2\pi, \frac{\pi}{2} + k \cdot 2\pi], k \in \mathbb{Z}$

📝 For the sine function, it is strictly increasing in the interval [−π2,π2][-\frac{\pi}{2}, \frac{\pi}{2}] and then strictly decreasing in [π2,3π2][\frac{\pi}{2}, \frac{3\pi}{2}], repeating this pattern every 2π2\pi 20.

6. Polynomials

6.1 Definition and degree of polynomials

A real polynomial is a function of a specific form, where coefficients are real numbers and the highest power of the variable determines its degree 22.

  • Polynomial form: f(x)=anxn+⋯+a1x+a0f(x) = a_n x^n + \dots + a_1 x + a_0, where x∈Rx \in \mathbb{R}.

  • Coefficients: a0,a1,…,an∈Ra_0, a_1, \dots, a_n \in \mathbb{R}, with an≠0a_n \neq 0.

  • Degree: The highest power nn of xx in the polynomial, denoted as deg(f)=n\text{deg}(f) = n 22.

6.2 Properties of polynomials

Polynomials exhibit closure under several fundamental operations, meaning the result of these operations on polynomials is always another polynomial 23.

  • Sum: The sum of two polynomials is always a polynomial.

  • Product: The product of two polynomials is always a polynomial.

  • Composition: The composition of two polynomials, obtained by substituting one into the other, results in a polynomial 23.

6.3 Roots of polynomials

The roots of a polynomial P(x)P(x) are the values of xx for which P(x)=0P(x) = 0, representing where the polynomial's graph intersects the x-axis 23.

  • Root condition: A number x0x_0 is a root of PP if and only if (x−x0)(x - x_0) divides PP, meaning P=(x−x0)⋅QP = (x - x_0) \cdot Q for some polynomial QQ.

  • Multiple root: If (x−x0)(x - x_0) divides PP more than once, x0x_0 is a multiple root.

  • Simple root: If (x−x0)(x - x_0) divides PP only once, x0x_0 is a simple root 23.

📝 For the polynomial P1(x)=x3−x2−x+1P_1(x) = x^3 - x^2 - x + 1, x0=1x_0 = 1 is a root. Through polynomial long division, P1(x)P_1(x) can be factored as (x−1)(x2−1)(x - 1)(x^2 - 1), which further simplifies to (x−1)2(x+1)(x - 1)^2 (x + 1). This shows that 11 is a multiple root with multiplicity 2, and −1-1 is a simple root 24.

6.4 Polynomial division

Given two polynomials P1P_1 and P2P_2 (where P2≠0P_2 \neq 0), polynomial long division allows for finding a unique quotient QQ and remainder RR 23.

  • Division algorithm: P1=P2⋅Q+RP_1 = P_2 \cdot Q + R.

  • Remainder condition: The degree of the remainder, deg(R)\text{deg}(R), must be less than the degree of the divisor, deg(P2)\text{deg}(P_2) 23.

6.5 Quadratic polynomials and factorization

A quadratic polynomial is a polynomial of degree 2, generally expressed as P(x)=ax2+bx+cP(x) = ax^2 + bx + c, where a≠0a \neq 0. Factorization involves writing this expression as a product of factors, which can be achieved by finding the roots of the equation ax2+bx+c=0ax^2 + bx + c = 0 25.

The nature of the roots and factorization depends on the discriminant, D=b2−4acD = b^2 - 4ac:

Discriminant (D)

Number of real roots

Factorization of P(x)

$D > 0$

Two different real roots ($x_1, x_2$)

$a(x - x_1)(x - x_2)$

$D = 0$

One real root ($x_1$)

$a(x - x_1)^2$

$D < 0$

No real roots

Cannot be factored into real linear factors

The roots x1x_1 and x2x_2 (or x1x_1 in the case of a single root) can be found using the quadratic formula 25.

  • Quadratic formula: x1,2=−b±b2−4ac2ax_{1,2} = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} 25.

The quadratic formula for finding the roots of a quadratic equation.

7. Polynomials and interpolation

7.1 Introduction to interpolation

Interpolation involves finding a function, II, from a specific class that accurately fits a given set of data points, (xi,yi)(x_i, y_i). This method is crucial when the relationship between quantities is known only through measured data pairs.

The goal is to approximate the underlying functional connection and use it to find unknown values 26.

  • Approximation: The interpolating function II approximates an unknown function ff, such that I(xi)=f(xi)=yiI(x_i) = f(x_i) = y_i for all given data points.

  • Application: The constructed function II can estimate function values at points other than the initial measured xix_i values 26.

7.2 Using polynomials for approximation

Polynomials are frequently used for interpolation because they are simple functions that facilitate convenient calculations. This makes them suitable for approximating more complex functions and for use in other applications like numerical integration or solving ordinary differential equations 26 27.

  • Lagrange polynomial: For a given set of distinct points xix_i and corresponding values yiy_i, the Lagrange polynomial is the lowest-degree polynomial that matches each yiy_i at its respective xix_i. This means the polynomial and the unknown function coincide at each data point 27.

📝 If you have data points (1,2)(1, 2), (3,4)(3, 4), and (5,6)(5, 6), a polynomial interpolation would find a polynomial P(x)P(x) such that P(1)=2P(1)=2, P(3)=4P(3)=4, and P(5)=6P(5)=6. This polynomial can then be used to estimate the value at x=2x=2, for instance.

8. Lagrange interpolation

8.1 Definition of the Lagrange polynomial

The Lagrange polynomial L(x)L(x) is a unique polynomial of degree at most nn that passes through a given set of n+1n+1 distinct real numbers (xi,yi)(x_i, y_i). It ensures that L(xi)=yiL(x_i) = y_i for all ii from 00 to nn 28.

  • Formula: The polynomial is defined by the sum of terms, where each term involves a yiy_i value multiplied by a product of fractions.

  • Product term gi(x)g_i(x): Each gi(x)g_i(x) is a product of fractions x−xjxi−xj\frac{x-x_j}{x_i-x_j} for all j≠ij \neq i, ensuring that gi(xi)=1g_i(x_i) = 1 and gi(xk)=0g_i(x_k) = 0 for k≠ik \neq i 28.

L(x)=∑i=0nyi∏j=0,j≠inx−xjxi−xjL(x) = \sum_{i=0}^{n} y_i \prod_{j=0, j \neq i}^{n} \frac{x-x_j}{x_i-x_j}

The formula for the Lagrange polynomial L(x) is presented, which is a sum of terms involving yi and a product of fractions.

📝 To find the Lagrange polynomial for a set of points, one calculates each gi(x)g_i(x) term and then sums them, weighted by their respective yiy_i values. For instance, if n=3n=3, there are four points (x0,y0),(x1,y1),(x2,y2),(x3,y3)(x_0, y_0), (x_1, y_1), (x_2, y_2), (x_3, y_3), and the polynomial will be of degree at most 3 29.

8.2 Constructing a cubic Lagrange polynomial

To construct a cubic Lagrange polynomial, one uses four given points (xi,yi)(x_i, y_i) to determine the unique polynomial of degree three that passes through them. This involves calculating four gi(x)g_i(x) terms and then combining them with their corresponding yiy_i values 29.

  • Given points: Consider the points (0,0)(0, 0), (1,−2)(1, -2), (2,0)(2, 0), and (3,12)(3, 12).

  • Calculation of gi(x)g_i(x) terms:

    • g0(x)=x−10−1⋅x−20−2⋅x−30−3=x3−6x2+11x−6−6g_0(x) = \frac{x-1}{0-1} \cdot \frac{x-2}{0-2} \cdot \frac{x-3}{0-3} = \frac{x^3 - 6x^2 + 11x - 6}{-6}.

    • g1(x)=x−01−0⋅x−21−2⋅x−31−3=x3−5x2+6x2g_1(x) = \frac{x-0}{1-0} \cdot \frac{x-2}{1-2} \cdot \frac{x-3}{1-3} = \frac{x^3 - 5x^2 + 6x}{2}.

    • g2(x)=x−02−0⋅x−12−1⋅x−32−3=x3−4x2+3x−2g_2(x) = \frac{x-0}{2-0} \cdot \frac{x-1}{2-1} \cdot \frac{x-3}{2-3} = \frac{x^3 - 4x^2 + 3x}{-2}.

    • g3(x)=x−03−0⋅x−13−1⋅x−23−2=x3−3x2+2x6g_3(x) = \frac{x-0}{3-0} \cdot \frac{x-1}{3-1} \cdot \frac{x-2}{3-2} = \frac{x^3 - 3x^2 + 2x}{6}.

  • Final polynomial: The Lagrange polynomial L(x)L(x) is the sum y0g0(x)+y1g1(x)+y2g2(x)+y3g3(x)y_0 g_0(x) + y_1 g_1(x) + y_2 g_2(x) + y_3 g_3(x).

    • L(x)=0⋅g0(x)+(−2)⋅g1(x)+0⋅g2(x)+12⋅g3(x)L(x) = 0 \cdot g_0(x) + (-2) \cdot g_1(x) + 0 \cdot g_2(x) + 12 \cdot g_3(x).

    • L(x)=−(x3−5x2+6x)+2(x3−3x2+2x)=x3−x2−2xL(x) = -(x^3 - 5x^2 + 6x) + 2(x^3 - 3x^2 + 2x) = x^3 - x^2 - 2x 29.

📝 The resulting cubic polynomial L(x)=x3−x2−2xL(x) = x^3 - x^2 - 2x passes through all four specified points, demonstrating the interpolation 29.

A line graph showing the cubic polynomial L(x) = x^3 - x^2 - 2x with three marked points.

8.3 Alternative method: System of linear equations

Another approach to finding an interpolating polynomial involves solving a system of linear equations, particularly when the number of points is small. This method directly determines the coefficients of the polynomial 31.

  • Polynomial form: For three points, a quadratic polynomial P(x)=ax2+bx+cP(x) = ax^2 + bx + c can be used.

  • System setup: Each point (xi,yi)(x_i, y_i) provides an equation by substituting its coordinates into the polynomial form.

  • Unknowns: The coefficients a,b,ca, b, c are the unknown parameters to be solved for 31.

Point

Equation

$(x_0, y_0)$

$ax_0^2 + bx_0 + c = y_0$

$(x_1, y_1)$

$ax_1^2 + bx_1 + c = y_1$

$(x_2, y_2)$

$ax_2^2 + bx_2 + c = y_2$

A system of three linear equations is presented, derived from three points, to determine the coefficients of a Lagrange polynomial.

📝 If three points are given, such as (x0,y0)(x_0, y_0), (x1,y1)(x_1, y_1), and (x2,y2)(x_2, y_2), they lead to a system of three linear equations with three unknowns (a,b,ca, b, c), which can then be solved. This highlights the importance of studying methods for solving linear equation systems 31.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also