#estimating riemann sum

169 messages · Page 1 of 1 (latest)

lone kettle
#

Did i do this right ?

static valleyBOT
lone kettle
#

My attempt

#

Is there a formula im supposed to follow?

neon sparrow
#

Why didnt you use

#

f(x) = -0.5x² + 8

burnt fernBOT
#

𝔸dωn𝓲²s

neon sparrow
#

6.5 and 5.5 are way too off

#

And 4.5 especially

lone kettle
lone kettle
neon sparrow
#

it's literally

lone kettle
#

i might have done it incorrectly

neon sparrow
#

f(1) + f(2) + f(3) + f(4)

#

Δx = 1 doesnt matter here

neon sparrow
lone kettle
#

okok, let me check my work rq

neon sparrow
#

okok

lone kettle
neon sparrow
#

No

#

I am saying multiplying things by 1 is trivial

#

So you might aswell spare yourself writing times 1 everytime

#

Also notice 24

#

cannot be

#

the actual integral is 21.333 approximately

#

you are drawing rectangles inside

#

meaning you will even miss some area

#

and not have extra area

#

So your result is even supposed to be acshually less than 21.333

neon sparrow
# burnt fern **𝔸dωn𝓲²s**

This is just a short way of saying I am summing up rectangles (here 4) with width Delta x (here 1) and height the function value at right corner

#

Sigma means sum

lone kettle
neon sparrow
#

ye

#

yea yea 🥱

lone kettle
#

What to do with left side riemann sum?

neon sparrow
#

idk

lone kettle
#

Do I subtract

neon sparrow
#

Left side points?

lone kettle
#

Mhm

neon sparrow
#

I am bad at English

#

and Math

#

so can you be a little more clear?

lone kettle
#

Like this one

neon sparrow
#

see

#

left side endpoints

lone kettle
#

yeah!

neon sparrow
#

aschually 🤓

#

you are missing one rectangle

lone kettle
neon sparrow
#

0 to 1?

lone kettle
#

U could barely see it

neon sparrow
neon sparrow
lone kettle
#

I drew it 😭

#

back to the question, mathematician

neon sparrow
#

where 🤓?

neon sparrow
#

i play fortnite

mental hollow
#

math bullyin is crazy

lone kettle
#

Do i use the same concept as the right one and apply with the left but subtract it instead?

lone kettle
neon sparrow
#

why subtract?

#

you are adding

#

rectangles again

neon sparrow
#

This time you will have some extra area

lone kettle
#

Whats the difference between left and right?

neon sparrow
#

so you would expect something greater but still close to 21.3

neon sparrow
#

missing out on area

#

left is as you may see

#

the rectangles are outside the curve

mental hollow
#

u nearly studyin integrals?

neon sparrow
#

so you would have extra area instead left

mental hollow
#

snooze

neon sparrow
#

and integral is like in the middle of these two calculating the exact result

#

exact area

lone kettle
mental hollow
lone kettle
#

Yes

mental hollow
#

calm

lone kettle
#

not calm

#

im burnt out

neon sparrow
#

take a break

lone kettle
#

Its ok, I understand quick

neon sparrow
#

good

lone kettle
#

The difference is just the rectangle inside and out?

#

but calculations are the sa@e

#

same

neon sparrow
#

ye

#

the procedure is the same

#

but the result isn't as you may tell graphically

#

Generally this is the formula $\sum_{i=0}^n f(x_i) \cdot \Delta x$ which kinda resembles $\int_a^b f(x) : \dd x$.

burnt fernBOT
#

𝔸dωn𝓲²s

neon sparrow
#

x_i is just the x values

lone kettle
#

Ok next question

neon sparrow
#

Ok 🫡

lone kettle
#

What about midpoint rectangle?

#

Wait i think i drew it wrong

#

There should only be two triangles right ?

neon sparrow
#

triangles?

lone kettle
#

RECTANGLES

neon sparrow
#

ok

#

they want you two rectangles

#

n = 2

lone kettle
neon sparrow
#

yes!

#

I was about to draw it

#

key is to hit the middle

#

this is a more compensating approach

#

you have area left

#

but you are also missing out on area

#

so they roughly cancel each other out

lone kettle
#

Is there a formula i could follow to show my work

neon sparrow
#

It's basically the same approach

#

see my red points

#

aka the middle

#

these are your function values

#

because that's your rectangles height

#

so f(1) and f(3)

#

width you did Delta x = 2 which is correct

burnt fernBOT
#

𝔸dωn𝓲²s

neon sparrow
#

I factorized Delta x

burnt fernBOT
#

𝔸dωn𝓲²s

lone kettle
neon sparrow
#

should add up yea

#

so there is a bit area left

#

but still a good approximation

#

since 22 > 21.333

lone kettle
#

What about a trapezoid?

neon sparrow
#

We are now summing up trapezoidal areas

#

So instead width x height

#

I think it was

#

$\sum_{i=0}^n \frac{1}{2}(f(x_i)+f(x_{i+1})) \cdot \Delta x$

burnt fernBOT
#

𝔸dωn𝓲²s

lone kettle
neon sparrow
#

I derived it from my head

neon sparrow
#

where a and b are f(x_i) and f(x_i+1)

#

and h Delta X

lone kettle
#

What is xi and xi +1

neon sparrow
#

f(x_i) is the previous functions value

#

f(x_i+1) is the next

neon sparrow
#

f(x_0) would be f(0)
f(x_0+1) = f(x_1) = f(1)

#

like it's the next function value after a Delta x step

#

So your first trapezoid would be (f(0) + f(1)) * 1/2

#

ok I derived it correctly

#

I hope this clears up

#

the x_i and x_i+1

lone kettle
neon sparrow
lone kettle
#

OH

neon sparrow
lone kettle
#

silly me

neon sparrow
#

it's one step iteration

lone kettle
lone kettle
#

.solved

static valleyBOT
#
Solved

Post marked as solved by @lone kettle.

Use .unsolved if this was a mistake.

neon sparrow