Numbers and Linear Functions--CNN 3

1. Numbers


Natural numbers 1, 2, 31,2,3, and so on.

By the way, why isn’t 0 a natural number?

I have no idea. That’s the way people defined natural numbers long ago, and nobody has cared much for changing that definition.

What operations?

There are addition, subtraction, multiplication and division.

2. Functions


a function is a bunch of ordered pairs of things, with the property that the first members of the pairs are all different from one another.

Thus, here is an example of a function:

[{1,1},{2,1},{3,2}]

It is customary to give functions names, like f, g or h, and if we call this function f, we generally use the following notation to describe it:

f(1)=1, f(2)=1, f(3)=2

The first members of the pairs are called arguments, and the whole set of them is called the domain of the function.

Thus, the arguments of f here are 1, 2 and 3.

The second members of the pairs are called the values of the functions, and the set of these is called the range of the function.

We can draw a picture of a function, called its graph.

3. Linear Functions


A linear function is a function whose graph consists of segments of one straight line throughout its domain.

Such a line is, you may remember, determined by any two points on it, say (a, f(a)), (b, f(b)).

What is a formula for such a function?

// Linear functions have a term that is `x` multiplied by some constants.
f(x) = mx + c

The number m which occurs here is called the slope (斜率) of this line. Notice that m is given by the ratio of the change of f between x = b and x = a to the change in x between these two arguments:

m = f ( b ) − f ( a ) b − a m = \frac{f(b) - f(a)}{b-a} m=baf(b)f(a)

These are linear functions whose y intercepts are 0 called homogeneous linear functions have a property:

f(ax+bz) = af(x) + bf(z)

Do ordinary linear functions have any such property?

They sort of do. Any linear function at all has the same property when b is 1 -a. Thus, for any linear function at all we have

f(ax+(1−a)z)=af(x)+(1−a)f(z)
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值